Skip to main content

Module polynomial

Module polynomial 

Source
Expand description

Polynomial evaluation, construction from roots, and roots by companion-matrix eigenvalues.

See the book entry Polynomials and decimal-string integers.

Functions§

polynomial_eval
Evaluate a polynomial at x using Horner’s rule.
polynomial_from_roots
Form a monic polynomial from its roots.
polynomial_roots
Compute the roots of a polynomial using a companion-matrix eigenvalue solve.