orthax.hermite_e.hermeline

orthax.hermite_e.hermeline(off, scl)Source

Hermite series whose graph is a straight line.

Parameters:
  • off (scalars) – The specified line is given by off + scl*x.

  • 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 orthax.hermite_e import hermeline
>>> from orthax.hermite_e import hermeline, hermeval
>>> hermeval(0,hermeline(3, 2))
3.0
>>> hermeval(1,hermeline(3, 2))
5.0