Skip to main content

UltrasphericalDMatrix

Interface

INTERFACE
MODULE PURE FUNCTION UltrasphericalDMatrix(n, lambda, x, quadType) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of Ultraspherical polynomial
REAL(DFP), INTENT(IN) :: lambda
!! $\lambda > -0.5, \lambda \ne 0.0$
REAL(DFP), INTENT(IN) :: x(0:n)
!! quadrature points
INTEGER(I4B), INTENT(IN) :: quadType
!! Gauss and GaussLobatto
REAL(DFP) :: ans(0:n, 0:n)
!! D matrix
END FUNCTION UltrasphericalDMatrix
END INTERFACE