•
|
The P(n, a, b, x) function computes the nth Jacobi polynomial with parameters a and b evaluated at x.
|
|
In the case of only two arguments, P(n, x) computes the nth Legendre (spherical) polynomial which is equal to P(n, 0, 0, x).
|
•
|
These polynomials are orthogonal on the interval with respect to the weight function when a and b are greater than -1. They satisfy:
|
|
The Jacobi polynomials are undefined for negative integer values of a or b.
|
•
|
Jacobi polynomials satisfy the following recurrence relation:
|