{ } Raw JSON

bundles / numpy 2.4.4 / numpy / polynomial / _polybase / ABCPolyBase / roots

function

numpy.polynomial._polybase:ABCPolyBase.roots

source: /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 : ndarray

Array containing the roots of the series.

Aliases

  • numpy.polynomial._polybase.ABCPolyBase.roots