numpy.polynomial.hermite.hermline#

polynomial.hermite.hermline(off, scl)[原始碼]#

Hermite series whose graph is a straight line.

參數:
off, sclscalars

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

回傳值:
yndarray

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

範例

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