A Polynomial series class.
Polynomial instances provide the standard Python numerical methods ‘+’, ‘-‘, ‘*’, ‘//’, ‘%’, ‘divmod’, ‘**’, and ‘()’ as well as the listed methods.
Parameters : | coef : array_like
domain : (2,) array_like, optional
window : (2,) array_like, optional
|
---|
Notes
It is important to specify the domain in many cases, for instance in fitting data, because many of the important properties of the polynomial basis only hold in a specified interval and consequently the data must be mapped into that interval in order to benefit.
Attributes
domain | |
window |
coef | (N,) array | Polynomial coefficients, from low to high. |
Methods
__call__ | |
convert | |
copy | |
cutdeg | |
degree | |
deriv | |
fit | |
fromroots | |
has_samecoef | |
has_samedomain | |
has_samewindow | |
identity | |
integ | |
linspace | |
mapparms | |
roots | |
trim | |
truncate |