NumPy

Previous topic

numpy.polynomial.hermite_e.hermetrim

Next topic

numpy.polynomial.hermite_e.herme2poly

numpy.polynomial.hermite_e.hermeline

numpy.polynomial.hermite_e.hermeline(off, scl)[source]

Hermite series whose graph is a straight line.

Parameters
off, sclscalars

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

Returns
yndarray

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

See also

polyline, chebline

Examples

>>> from numpy.polynomial.hermite_e import hermeline
>>> from numpy.polynomial.hermite_e import hermeline, hermeval
>>> hermeval(0,hermeline(3, 2))
3.0
>>> hermeval(1,hermeline(3, 2))
5.0