Skip to main content

UltrasphericalEvalAll

Evaluate Ultraspherical polynomials from order = 0 to n at single or several points.

Interface 1

INTERFACE
MODULE PURE FUNCTION UltrasphericalEvalAll(n, lambda, x) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of polynomial
REAL(DFP), INTENT(IN) :: lambda
!! lambda should be greater than -0.5
REAL(DFP), INTENT(IN) :: x
REAL(DFP) :: ans(n + 1)
!! Evaluate Ultraspherical polynomial of order = 0 to n (total n+1)
!! at point x
END FUNCTION UltrasphericalEvalAll
END INTERFACE

Interface 2

INTERFACE
MODULE PURE FUNCTION UltrasphericalEvalAll(n, lambda, x) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of polynomial
REAL(DFP), INTENT(IN) :: lambda
!! lambda should be greater than -0.5
REAL(DFP), INTENT(IN) :: x(:)
REAL(DFP) :: ans(SIZE(x), n + 1)
!! Evaluate Ultraspherical polynomial of order = 0 to n (total n+1)
!! at point x
END FUNCTION UltrasphericalEvalAll
END INTERFACE