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.
PolyError
Base class for errors in this module.
PolyDomainError
Issued by the generic Poly class when two domains don’t match.
RankWarning
Issued by chebfit when the design matrix is rank deficient.
PolyBase
Base class for all polynomial types.
as_series(alist[, trim])
as_series
Return argument as a list of 1-d arrays.
trimseq(seq)
trimseq
Remove small Poly series coefficients.
trimcoef(c[, tol])
trimcoef
Remove “small” “trailing” coefficients from a polynomial.
getdomain(x)
getdomain
Return a domain suitable for given abscissae.
mapdomain(x, old, new)
mapdomain
Apply linear map to input points.
mapparms(old, new)
mapparms
Linear map parameters between domains.