NumPy

Previous topic

numpy.polynomial.hermite.hermtrim

Next topic

numpy.polynomial.hermite.herm2poly

This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).

numpy.polynomial.hermite.hermline

numpy.polynomial.hermite.hermline(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 import hermline, hermval
>>> hermval(0,hermline(3, 2))
3.0
>>> hermval(1,hermline(3, 2))
5.0