numpy.polynomial.legendre.legweight¶
- numpy.polynomial.legendre.legweight(x)[source]¶
- Weight function of the Legendre polynomials. - The weight function is  and the interval of integration is and the interval of integration is![[-1, 1]](../../_images/math/f08b1a2f0aaf98a3ec3af1adeb1bb5b269c814d4.png) . The Legendre polynomials are orthogonal, but not
normalized, with respect to this weight function. . The Legendre polynomials are orthogonal, but not
normalized, with respect to this weight function.- Parameters: - x : array_like - Values at which the weight function will be computed. - Returns: - w : ndarray - The weight function at x. - Notes