Skip to main content

Module roots

Module roots 

Source
Expand description

Small real-root helpers for low-degree polynomials.

Functionsยง

linear_root
Returns the real root of ax + b = 0.
quadratic_roots
Returns the real roots of ax^2 + bx + c = 0.