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
-
-
rootsndarray
-
Array containing the roots of the series.
-
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.polynomial.polynomial.Polynomial.roots.html