numpy.polynomial.polynomial.Polynomial.roots#

method

polynomial.polynomial.Polynomial.roots()[source]#

Return the roots of the series polynomial.

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

Returns:
rootsndarray

Array containing the roots of the series.