SciPy

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

numpy.polynomial.polynomial.Polynomial.roots

Polynomial.roots()[source]

Return the roots of the series polynomial.

Compute the roots for the series. Note that the accuracy of the roots decrease the further outside the domain they lie.

Returns:

roots : ndarray

Array containing the roots of the series.