numpy.polynomial.laguerre.Laguerre.truncate

Laguerre.truncate(size)

Truncate series to length size.

Reduce the Laguerre series to length size by discarding the high degree terms. The value of size must be a positive integer. This can be useful in least squares where the coefficients of the high degree terms may be very small.

Parameters :

size : positive int

The series is reduced to length size by discarding the high degree terms. The value of size must be a positive integer.

Returns :

new_instance : Laguerre

New instance of Laguerre with truncated coefficients.

Previous topic

numpy.polynomial.laguerre.Laguerre.trim

Next topic

numpy.polynomial.laguerre.lagval

This Page