numpy / 1.22.0 / reference / generated / numpy.polynomial.hermite_e.hermeline.html /

numpy.polynomial.hermite_e.hermeline

polynomial.hermite_e. hermeline ( 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.

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

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.polynomial.hermite_e.hermeline.html