This is documentation for an old release of NumPy (version 1.14.2). Read this page in the documentation of the latest stable release (version > 1.17).
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 . 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
New in version 1.7.0.