UltrasphericalLeadingCoeff
Leading coefficient of Ultraspherical polynomials.
Interface
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE PURE FUNCTION UltrasphericalLeadingCoeff(n, lambda) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of Ultraspherical polynomial
REAL(DFP), INTENT(IN) :: lambda
!! lambda should be greater than -0.5
REAL(DFP) :: ans
!! answer
END FUNCTION UltrasphericalLeadingCoeff
END INTERFACE
program main
use easifembase
implicit none
CALL Display(UltrasphericalLeadingCoeff(5, 0.5_DFP), "ans: " )
end program main
results
ans: 7.87500