On this page
numpy.polynomial.polynomial.polypow
numpy.polynomial.polynomial.polypow(c, pow, maxpower=None)[source]- 
    
Raise a polynomial to a power.
Returns the polynomial
craised to the powerpow. The argumentcis a sequence of coefficients ordered from low to high. i.e., [1,2,3] is the series1 + 2*x + 3*x**2.Parameters: - 
           
c : array_like - 
           
1-D array of array of series coefficients ordered from low to high degree.
 - 
           
pow : integer - 
           
Power to which the series will be raised
 - 
           
maxpower : integer, optional - 
           
Maximum power allowed. This is mainly to limit growth of the series to unmanageable size. Default is 16
 
Returns: - 
           
coef : ndarray - 
           
Power series of power.
 
Examples
>>> 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 3-clause BSD License.
 https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.polynomial.polynomial.polypow.html