bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / polynomial / polypow
function
numpy.polynomial.polynomial:polypow
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/polynomial.py :426
Signature
def polypow ( c , pow , maxpower = None ) Summary
Raise a polynomial to a power.
Extended Summary
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
c: array_like1-D array of array of series coefficients ordered from low to high degree.
pow: integerPower to which the series will be raised
maxpower: integer, optionalMaximum power allowed. This is mainly to limit growth of the series to unmanageable size. Default is 16
Returns
coef: ndarrayPower series of power.
Examples
from numpy.polynomial import polynomial as P
✓P.polypow([1, 2, 3], 2)
✗See also
Aliases
-
numpy.polynomial.Polynomial._pow -
numpy.polynomial.polynomial.polypow