UltrasphericalLeadingCoeffRatio
Ratio of Leading coefficient of Ultraspherical polynomials.
Interface
- ܀ Interface
- ️܀ See example
- ↢
INTERFACE
MODULE PURE FUNCTION UltrasphericalLeadingCoeffRatio(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 UltrasphericalLeadingCoeffRatio
END INTERFACE
program main
use easifembase
implicit none
CALL Display(UltrasphericalLeadingCoeffRatio(5, 0.5_DFP), "ans: " )
end program main
results
ans: 1.83333