bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / legendre / legweight
function
numpy.polynomial.legendre:legweight
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/legendre.py :1535
Signature
def legweight ( x ) Summary
Weight function of the Legendre polynomials.
Extended Summary
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_likeValues at which the weight function will be computed.
Returns
w: ndarrayThe weight function at
x.
Aliases
-
numpy.polynomial.legendre.legweight