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