{ } Raw JSON

bundles / numpy 2.4.4 / numpy / polynomial / laguerre / lagweight

function

numpy.polynomial.laguerre:lagweight

source: /numpy/polynomial/laguerre.py:1598

Signature

def lagweight(x)

Summary

Weight function of the Laguerre polynomials.

Extended Summary

The weight function is and the interval of integration is . The Laguerre 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.

Examples

from numpy.polynomial.laguerre import lagweight
x = np.array([0, 1, 2])
✓
lagweight(x)
✗
array([1.    , 0.3679, 0.1353])

Aliases

  • numpy.polynomial.laguerre.lagweight