root-solver provides solvers for polynomials of orders 2 and 3 (with plans for 4 and possibly higher), using the algorithms of Kahan and others. See http://www.cs.berkeley.edu/~wkahan/Math128/Cubic.pdf for more information about the algorithms included.
Additionally root-solver includes support for tracking a single root as the coefficients of the polynomial changes.
Bug reports and suggestions should be filed at https://github.com/aragilar/root-solver/issues.
root-solver is distributed via PyPI, and can be installed via pip with:
pip install root-solver
To install a development version of root-solver, clone this repository and use:
pip install -e .