polynomial.legendre.
legline
Legendre series whose graph is a straight line.
The specified line is given by off + scl*x.
off + scl*x
This module’s representation of the Legendre series for off + scl*x.
See also
numpy.polynomial.polynomial.polyline
numpy.polynomial.chebyshev.chebline
numpy.polynomial.laguerre.lagline
numpy.polynomial.hermite.hermline
numpy.polynomial.hermite_e.hermeline
Examples
>>> import numpy.polynomial.legendre as L >>> L.legline(3,2) array([3, 2]) >>> L.legval(-3, L.legline(3,2)) # should be -3 -3.0