numpy.polynomial.polynomial.polymulx#

polynomial.polynomial.polymulx(c)[原始碼]#

Multiply a polynomial by x.

Multiply the polynomial c by x, where x is the independent variable.

參數:
carray_like

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

回傳值:
outndarray

代表乘法結果的陣列。

範例

>>> from numpy.polynomial import polynomial as P
>>> c = (1, 2, 3)
>>> P.polymulx(c)
array([0., 1., 2., 3.])