class Polynomial(ABCPolyBase):
A power series class.
The Polynomial class provides the standard Python numerical methods
'+', '-', '*', '//', '%', 'divmod', '**', and '()' as well as the
attributes and methods listed in the ABCPolyBase
documentation.
Window, see domain
for its use. The default value is [-1, 1].
Class Variable | basis_name |
Undocumented |
Class Variable | domain |
Undocumented |
Class Variable | window |
Undocumented |
Class Method | _str_term_unicode |
String representation of single polynomial term using unicode characters for superscripts and subscripts. |
Static Method | _repr_latex_term |
Undocumented |
Static Method | _str_term_ascii |
String representation of a single polynomial term using ** and _ to represent superscripts and subscripts, respectively. |
Inherited from ABCPolyBase
:
Class Method | basis |
Series basis polynomial of degree deg . |
Class Method | cast |
Convert series to series of this class. |
Class Method | fit |
Least squares fit to data. |
Class Method | fromroots |
Return series instance that has the specified roots. |
Class Method | identity |
Identity function. |
Static Method | _add |
Undocumented |
Static Method | _der |
Undocumented |
Static Method | _div |
Undocumented |
Static Method | _fit |
Undocumented |
Static Method | _fromroots |
Undocumented |
Static Method | _int |
Undocumented |
Static Method | _line |
Undocumented |
Static Method | _mul |
Undocumented |
Static Method | _pow |
Undocumented |
Static Method | _repr_latex_scalar |
Undocumented |
Static Method | _roots |
Undocumented |
Static Method | _sub |
Undocumented |
Static Method | _val |
Undocumented |
Method | __add__ |
Undocumented |
Method | __call__ |
Undocumented |
Method | __divmod__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __floordiv__ |
Undocumented |
Method | __format__ |
Undocumented |
Method | __getstate__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __mod__ |
Undocumented |
Method | __mul__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method | __neg__ |
Undocumented |
Method | __pos__ |
Undocumented |
Method | __pow__ |
Undocumented |
Method | __radd__ |
Undocumented |
Method | __rdiv__ |
Undocumented |
Method | __rdivmod__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __rfloordiv__ |
Undocumented |
Method | __rmod__ |
Undocumented |
Method | __rmul__ |
Undocumented |
Method | __rsub__ |
Undocumented |
Method | __rtruediv__ |
Undocumented |
Method | __setstate__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | __sub__ |
Undocumented |
Method | __truediv__ |
Undocumented |
Method | _generate_string |
Generate the full string representation of the polynomial, using term_method to generate each polynomial term. |
Method | _get_coefficients |
Interpret other as polynomial coefficients. |
Method | _repr_latex_ |
Undocumented |
Method | convert |
Convert series to a different kind and/or domain and/or window. |
Method | copy |
Return a copy. |
Method | cutdeg |
Truncate series to the given degree. |
Method | degree |
The degree of the series. |
Method | deriv |
Differentiate. |
Method | has_samecoef |
Check if coefficients match. |
Method | has_samedomain |
Check if domains match. |
Method | has_sametype |
Check if types match. |
Method | has_samewindow |
Check if windows match. |
Method | integ |
Integrate. |
Method | linspace |
Return x, y values at equally spaced points in domain. |
Method | mapparms |
Return the mapping parameters. |
Method | roots |
Return the roots of the series polynomial. |
Method | trim |
Remove trailing coefficients |
Method | truncate |
Truncate series to length size . |
Class Variable | __array_ufunc__ |
Undocumented |
Class Variable | __hash__ |
Undocumented |
Class Variable | _subscript_mapping |
Undocumented |
Class Variable | _superscript_mapping |
Undocumented |
Class Variable | _use_unicode |
Undocumented |
Class Variable | maxpower |
Undocumented |
Instance Variable | __dict__ |
Undocumented |
Instance Variable | coef |
Undocumented |