numpy.polynomial.hermite.hermmulx#

polynomial.hermite.hermmulx(c)[源代码]#

将一个 Hermite 级数乘以 x。

将厄米级数 c 与自变量 x 相乘。

参数:
c类数组

一维厄米级数系数数组,按低到高排序。

返回:
outndarray

表示乘法结果的数组。

备注

乘法使用厄米多项式的递归关系,形式如下:

\[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])