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