Computable Univariate To Polynomial #
Conversions between computable univariate polynomials and mathlib Polynomial.
Convert a mathlib Polynomial to a CPolynomial.Raw by extracting coefficients
up to the degree.
Instances For
Convert a CPolynomial.Raw to a (mathlib) Polynomial.
Instances For
Convert a canonical polynomial to a (mathlib) Polynomial.
Instances For
Alias of Polynomial.toImpl.
Convert a mathlib Polynomial to a CPolynomial.Raw by extracting coefficients
up to the degree.
Instances For
Evaluation is preserved by toPoly.
toImpl is a right-inverse of toPoly: the round-trip from Polynomial is the identity.
Non-zero polynomials map to non-empty arrays.
The last coefficient of toImpl p is the leading coefficient of p.
toImpl lands in the semantic canonical carrier used by CPolynomial.
On canonical polynomials, toImpl is a left-inverse of toPoly.
This shows toPoly is a bijection from CPolynomial R to Polynomial R.
Evaluation is preserved by toImpl.