Chebyshev Module (numpy.polynomial.chebyshev
)¶
New in version 1.4.0.
This module provides a number of objects (mostly functions) useful for
dealing with Chebyshev series, including a Chebyshev
class that
encapsulates the usual arithmetic operations. (General information
on how this module represents and works with such polynomials is in the
docstring for its “parent” sub-package, numpy.polynomial
).
Basics¶
|
Evaluate a Chebyshev series at points x. |
|
Evaluate a 2-D Chebyshev series at points (x, y). |
|
Evaluate a 3-D Chebyshev series at points (x, y, z). |
|
Evaluate a 2-D Chebyshev series on the Cartesian product of x and y. |
|
Evaluate a 3-D Chebyshev series on the Cartesian product of x, y, and z. |
|
Compute the roots of a Chebyshev series. |
|
Generate a Chebyshev series with given roots. |
Fitting¶
|
Least squares fit of Chebyshev series to data. |
|
Pseudo-Vandermonde matrix of given degree. |
|
Pseudo-Vandermonde matrix of given degrees. |
|
Pseudo-Vandermonde matrix of given degrees. |
Calculus¶
|
Differentiate a Chebyshev series. |
|
Integrate a Chebyshev series. |
Algebra¶
|
Add one Chebyshev series to another. |
|
Subtract one Chebyshev series from another. |
|
Multiply one Chebyshev series by another. |
|
Multiply a Chebyshev series by x. |
|
Divide one Chebyshev series by another. |
|
Raise a Chebyshev series to a power. |
Quadrature¶
|
Gauss-Chebyshev quadrature. |
|
The weight function of the Chebyshev polynomials. |
Miscellaneous¶
Return the scaled companion matrix of c. |
|
|
Remove “small” “trailing” coefficients from a polynomial. |
|
Chebyshev series whose graph is a straight line. |
|
Convert a Chebyshev series to a polynomial. |
|
Convert a polynomial to a Chebyshev series. |