Jacobi polynomials and Gauss quadrature related functions