numpy.polynomial.polynomial.polypow(c, pow, maxpower=None)
[source]
Raise a polynomial to a power.
Returns the polynomial c
raised to the power pow
. The argument c
is a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series 1 + 2*x + 3*x**2.
Parameters: 


Returns: 

>>> from numpy.polynomial import polynomial as P >>> P.polypow([1,2,3], 2) array([ 1., 4., 10., 12., 9.])
© 2005–2019 NumPy Developers
Licensed under the 3clause BSD License.
https://docs.scipy.org/doc/numpy1.17.0/reference/generated/numpy.polynomial.polynomial.polypow.html