bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / polynomial / Polynomial
ABCMeta
numpy.polynomial.polynomial:Polynomial
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/polynomial.py :1557
Signature
def Polynomial ( coef , domain = None , window = None , symbol = x ) Members
Summary
A power series class.
Extended Summary
The Polynomial class provides the standard Python numerical methods '+', '-', '', '//', '%', 'divmod', '*', and '()' as well as the attributes and methods listed below.
Parameters
coef: array_likePolynomial coefficients in order of increasing degree, i.e.,
(1, 2, 3)give1 + 2*x + 3*x**2.domain: (2,) array_like, optionalDomain to use. The interval
[domain[0], domain[1]]is mapped to the interval[window[0], window[1]]by shifting and scaling. The default value is [-1., 1.].window: (2,) array_like, optionalWindow, see
domainfor its use. The default value is [-1., 1.].symbol: str, optionalSymbol used to represent the independent variable in string representations of the polynomial expression, e.g. for printing. The symbol must be a valid Python identifier. Default value is 'x'.
Aliases
-
numpy.polynomial.Polynomial