numpy.polynomial.legendre.Legendre.truncate#
method
- polynomial.legendre.Legendre.truncate(size)[source]#
Truncate series to length
size.Reduce the series to length
sizeby discarding the high degree terms. The value ofsizemust be a positive integer. This can be useful in least squares where the coefficients of the high degree terms may be very small.