Skip to main content

JacobiJacobiRadauMatrix

Jacobi Radau matrix for Jacobi polynomials.

INTERFACE
MODULE PURE SUBROUTINE JacobiJacobiRadauMatrix(a, n, alpha, beta, D, &
& E, alphaCoeff, betaCoeff)
REAL(DFP), INTENT(IN) :: a
!! one of the end of the domain
INTEGER(I4B), INTENT(IN) :: n
!! n should be greater than or equal to 1
REAL(DFP), INTENT(IN) :: alpha
!! alpha of jacobu poly
REAL(DFP), INTENT(IN) :: beta
!! beta of jacobi poly
REAL(DFP), INTENT(OUT) :: D(:)
!! the size should be 1:n+1
REAL(DFP), INTENT(OUT) :: E(:)
!! the size should be 1:n
REAL(DFP), OPTIONAL, INTENT(OUT) :: alphaCoeff(0:)
REAL(DFP), OPTIONAL, INTENT(OUT) :: betaCoeff(0:)
END SUBROUTINE JacobiJacobiRadauMatrix
END INTERFACE

Examples