numpy.polynomial.legendre.legline(off, scl)
[source]
Legendre series whose graph is a straight line.
Parameters: |
|
---|---|
Returns: |
|
See also
polyline
, chebline
>>> 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
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.polynomial.legendre.legline.html