numpy.polynomial.polynomial.polymulx#
- polynomial.polynomial.polymulx(c)[source]#
Multiply a polynomial by x.
Multiply the polynomial c by x, where x is the independent variable.
- Parameters:
- carray_like
1-D array of polynomial coefficients ordered from low to high.
- Returns:
- outndarray
Array representing the result of the multiplication.
Notes
New in version 1.5.0.
Examples
>>> from numpy.polynomial import polynomial as P >>> c = (1, 2, 3) >>> P.polymulx(c) array([0., 1., 2., 3.])