roots_jacobi
scipy.special.
- scipy.special.roots_jacobi(n, alpha, beta, mu=False)
Gauss-Jacobi quadrature.
Compute the sample points and weights for Gauss-Jacobi quadrature. The sample points are the roots of the nth degree Jacobi polynomial, . These sample points and weights correctly integrate polynomials of degree or less over the interval with weight function . See 22.2.1 in for details.