Interpret a normalized executable algebraic polynomial in Polynomial ℂ.
Equations
- f.toPolynomial = Array.foldr (fun (a : Hex.AlgebraicNumber) (value : Polynomial ℂ) => Polynomial.C a.toComplex + Polynomial.X * value) 0 f.coeffs
Instances For
Semantic coefficients agree with the executable coefficient accessor.
Executable semantic-zero detection is exact.
A nonzero executable polynomial has the same natural degree as its semantic interpretation.
Canonical coefficientwise Boolean equality is faithful to the semantic polynomial interpretation.