LegendreLeadingCoeffRatio
Ratio of Leading coefficient of Legendre polynomials.
Examples
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE PURE FUNCTION LegendreLeadingCoeffRatio(n) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of Legendre polynomial
REAL(DFP) :: ans
!! answer
END FUNCTION LegendreLeadingCoeffRatio
END INTERFACE
program main
use easifembase
implicit none
CALL Display(LegendreLeadingCoeffRatio(5), "ans: " )
end program main
results
ans: 1.83333