bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / _polybase / ABCPolyBase / roots
function
numpy.polynomial._polybase:ABCPolyBase.roots
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/_polybase.py :900
Signature
def roots ( self ) Summary
Return the roots of the series polynomial.
Extended Summary
Compute the roots for the series. Note that the accuracy of the roots decreases the further outside the domain they lie.
Returns
roots: ndarrayArray containing the roots of the series.
Aliases
-
numpy.polynomial._polybase.ABCPolyBase.roots