NumPy

Previous topic

numpy.polynomial.chebyshev.chebgauss

Next topic

numpy.polynomial.chebyshev.chebcompanion

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.polynomial.chebyshev.chebweight

numpy.polynomial.chebyshev.chebweight(x)[source]

The weight function of the Chebyshev polynomials.

The weight function is 1/\sqrt{1 - x^2} and the interval of integration is [-1, 1]. The Chebyshev polynomials are orthogonal, but not normalized, with respect to this weight function.

Parameters
xarray_like

Values at which the weight function will be computed.

Returns
wndarray

The weight function at x.

Notes

New in version 1.7.0.