jacobi_polynomial, a Python code which evaluates the Jacobi polynomial.
For a given choice of the parameters a and b, both greater than -1, the Jacobi polynomials are a set of polynomials which are pairwise orthogonal with respect to the integral:
integral (-1<=x<=+1) J(i,a,b,x) J(j,a,b,x) (1-x)^a (1+x)^b dxThat is, this integral is 0 unless i = j. J(i,a,b,x) indicates the Jacobi polynomial of degree i.
The standard Jacobi polynomials can be defined by a three term recurrence formula that is a bit too ugly to quote here.
It is worth noting that the definition of the Jacobi polynomials is general enough that it includes some familiar families as special cases:
The information on this web page is distributed under the MIT license.
jacobi_polynomial is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
jacobi_rule, a Python code which computes and prints a Gauss-Jacobi quadrature rule.
python_polynomial, a Python code which analyzes a variety of polynomial families, returning the polynomial values, coefficients, derivatives, integrals, roots, or other information.
polpak, a Python code which evaluates a variety of mathematical functions.
test_values, a Python code which supplies test values of various mathematical functions.