SciPy

numpy.polynomial.chebyshev.Chebyshev.basis

static Chebyshev.basis(deg, domain=[-1, 1], window=[-1, 1])

Chebyshev polynomial of degree deg.

Returns an instance of the Chebyshev polynomial of degree d.

Parameters :

deg : int

Degree of the Chebyshev polynomial. Must be >= 0.

domain : array_like

The resulting array must be of the form [beg, end], where beg and end are the endpoints of the domain.

window : array_like

The resulting array must be if the form [beg, end], where beg and end are the endpoints of the window.

Returns

p : Chebyshev instance

Notes

New in version 1.7.0.