numpy / 1.15.4 / generated / numpy.polynomial.polynomial.polynomial.roots.html /

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.

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.15.4/reference/generated/numpy.polynomial.polynomial.Polynomial.roots.html