SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.polynomial.polynomial.Polynomial.roots

Polynomial.roots()

Return list of roots.

Return ndarray of roots for this series. See polyroots for full documentation. Note that the accuracy of the roots is likely to decrease the further outside the domain they lie.

See also

polyroots
similar function
polyfromroots
function to go generate series from roots.