method
Series basis polynomial of degree deg.
Returns the series representing the basis polynomial of degree deg.
Degree of the basis polynomial for the series. Must be >= 0.
If given, the array must be of the form [beg, end], where beg and end are the endpoints of the domain. If None is given then the class domain is used. The default is None.
If given, the resulting array must be if the form [beg, end], where beg and end are the endpoints of the window. If None is given then the class window is used. The default is None.
Symbol representing the independent variable. Default is ‘x’.
A series with the coefficient of the deg term set to one and all others zero.
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.polynomial.legendre.Legendre.basis.html