Skip to main content

JacobiGradientEval

Evaluate gradient of Jacobi polynomials.

Interface 1

INTERFACE
MODULE PURE FUNCTION JacobiGradientEval(n, alpha, beta, x) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
!! order of Jacobi polynomial
REAL(DFP), INTENT(IN) :: alpha
!! alpha > -1.0
REAL(DFP), INTENT(IN) :: beta
!! beta > -1.0
REAL(DFP), INTENT(IN) :: x
!! point
REAL(DFP) :: ans
!! Derivative of Jacobi polynomial of order n at point x
END FUNCTION JacobiGradientEval
END INTERFACE

Interface 2

INTERFACE
MODULE PURE FUNCTION JacobiGradientEval(n, alpha, beta, x) RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n
REAL(DFP), INTENT(IN) :: alpha
REAL(DFP), INTENT(IN) :: beta
REAL(DFP), INTENT(IN) :: x(:)
REAL(DFP) :: ans(SIZE(x))
!! Derivative of Jacobi polynomial of order n at x
END FUNCTION JacobiGradientEval
END INTERFACE

Examples