numpy.polynomial.hermite.hermmulx#

polynomial.hermite.hermmulx(c)[原始碼]#

Multiply a Hermite series by x.

Multiply the Hermite series c by x, where x is the independent variable.

參數:
carray_like

1-D array of Hermite series coefficients ordered from low to high.

回傳值:
outndarray

代表乘法結果的陣列。

備註

The multiplication uses the recursion relationship for Hermite polynomials in the form

\[xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x))\]

範例

>>> from numpy.polynomial.hermite import hermmulx
>>> hermmulx([1, 2, 3])
array([2. , 6.5, 1. , 1.5])