5/16/2023 0 Comments Polyroots numpyarray () # Polynomial coefficients representing the identity x. array () # Polynomial coefficients representing one. array () # Polynomial coefficients representing zero. trimcoef # These are constant arrays are of integer type so as to be compatible # with the widest range of other types, such as Decimal. _polybase import ABCPolyBase polytrim = pu. See Also - `numpy.polynomial` """ from _future_ import division, absolute_import, print_function _all_ = import warnings import numpy as np import numpy.linalg as la from. Classes - `Polynomial` - polynomial class. `polyline` - polynomial representing given straight line. `polytrim` - trim leading coefficients from a polynomial. `polyfit` - least-squares fit returning a polynomial. `polycompanion` - companion matrix in power series form. `polyvander3d` - Vandermonde-like matrix for 3D power series. `polyvander2d` - Vandermonde-like matrix for 2D power series. `polyvander` - Vandermonde-like matrix for powers. `polyroots` - find the roots of a polynomial. Misc Functions - `polyfromroots` - create a polynomial with specified roots. Calculus - `polyder` - differentiate a polynomial. `polygrid3d` - evaluate a 3D polynomial on a Cartesian product. `polygrid2d` - evaluate a 2D polynomial on a Cartesian product. `polyval3d` - evaluate a 3D polynomial at given points. `polyval2d` - evaluate a 2D polynomial at given points. `polypow` - raise a polynomial to an positive integer power - `polyval` - evaluate a polynomial at given points. `polydiv` - divide one polynomial by another. `polysub` - subtract one polynomial from another. Arithmetic - `polyadd` - add two polynomials. `polyx` - (Coefficients of the) identity map polynomial, ``f(x) = x``. `polyzero` - (Coefficients of the) "zero polynomial." - `polyone` - (Coefficients of the) constant polynomial 1. Constants - `polydomain` - Polynomial default domain. (General information on how this module represents and works with polynomial objects is in the docstring for its "parent" sub-package, `numpy.polynomial`). This module provides a number of objects (mostly functions) useful for dealing with polynomials, including a `Polynomial` class that encapsulates the usual arithmetic operations. """ Objects for dealing with polynomials.
0 Comments
Leave a Reply. |