numpy.polynomial.laguerre.Laguerre.cutdeg
method
-
polynomial.laguerre.Laguerre.cutdeg(deg)[source] -
Truncate series to the given degree.
Reduce the degree of the series to
degby discarding the high order terms. Ifdegis greater than the current degree a copy of the current series is returned. This can be useful in least squares where the coefficients of the high degree terms may be very small.New in version 1.5.0.
- Parameters
-
-
degnon-negative int -
The series is reduced to degree
degby discarding the high order terms. The value ofdegmust be a non-negative integer.
-
- Returns
-
-
new_seriesseries -
New instance of series with reduced degree.
-
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.polynomial.laguerre.Laguerre.cutdeg.html