SciPy

PolyutilsΒΆ

Utility classes and functions for the polynomial modules.

This module provides: error and warning objects; a polynomial base class; and some routines used in both the polynomial and chebyshev modules.

Error objectsΒΆ

PolyError Base class for errors in this module.
PolyDomainError Issued by the generic Poly class when two domains don’t match.

Warning objectsΒΆ

RankWarning Issued by chebfit when the design matrix is rank deficient.

Base classΒΆ

PolyBase Base class for all polynomial types.

FunctionsΒΆ

as_series(alist[, trim]) Return argument as a list of 1-d arrays.
trimseq(seq) Remove small Poly series coefficients.
trimcoef(c[, tol]) Remove β€œsmall” β€œtrailing” coefficients from a polynomial.
getdomain(x) Return a domain suitable for given abscissae.
mapdomain(x, old, new) Apply linear map to input points.
mapparms(old, new) Linear map parameters between domains.