numpy.polynomial.hermite.hermline

numpy.polynomial.hermite.hermline(off, scl) [source]

Hermite 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 Hermite series for off + scl*x.

See also

polyline, chebline

Examples

>>> from numpy.polynomial.hermite import hermline, hermval
>>> hermval(0,hermline(3, 2))
3.0
>>> hermval(1,hermline(3, 2))
5.0

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.15.4/reference/generated/numpy.polynomial.hermite.hermline.html