Skip to main content

Module poly

Module poly 

Source
Expand description

Polynomial roots shared by geometric intersections.

Functions§

real_roots
Real roots up to degree four; decline near-multiple roots and ill-scaled leading terms.
solve_quadratic
Real quadratic roots, in minus-square-root then plus-square-root order. Linear/constant degeneracy thresholds remain the caller’s responsibility. A repeated root is returned twice to preserve two-branch callers.