numpy.polynomial.laguerre.lagline

numpy.polynomial.laguerre.lagline(off, scl) [source]

Laguerre series whose graph is a straight line.

Parameters:

off, scl : scalars

The specified line is given by off + scl*x.

Returns:

y : ndarray

This module’s representation of the Laguerre series for off + scl*x.

See also

polyline, chebline

Examples

>>> from numpy.polynomial.laguerre import lagline, lagval
>>> lagval(0,lagline(3, 2))
3.0
>>> lagval(1,lagline(3, 2))
5.0

© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.polynomial.laguerre.lagline.html