Polynomials¶
Polynomial Package¶
Polynomial Module¶
Computes the Vandermonde matrix of given degree. |
|
Computes the companion matrix of c. |
Polyutils¶
Returns argument as a list of 1-d arrays. |
|
Removes small polynomial series coefficients. |
|
Removes small trailing coefficients from a polynomial. |
Poly1d¶
Basics¶
A one-dimensional polynomial class. |
|
Evaluates a polynomial at specific values. |
|
Computes the roots of a polynomial with given coefficients. |
Fitting¶
Returns the least squares fit of polynomial of degree deg to the data y sampled at x. |
Arithmetic¶
Computes the sum of two polynomials. |
|
Computes the difference of two polynomials. |
|
Computes the product of two polynomials. |