SciPy

numpy.polynomial.polynomial.Polynomial.roots

method

Polynomial.roots(self)[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.

Previous topic

numpy.polynomial.polynomial.Polynomial.mapparms

Next topic

numpy.polynomial.polynomial.Polynomial.trim