{ } Raw JSON

bundles / numpy 2.4.4 / numpy / polynomial / legendre / legweight

function

numpy.polynomial.legendre:legweight

source: /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_like

Values at which the weight function will be computed.

Returns

w : ndarray

The weight function at x.

Aliases

  • numpy.polynomial.legendre.legweight