SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.optimize.RootResults

class scipy.optimize.RootResults(root, iterations, function_calls, flag)[source]

Represents the root finding result.

Attributes
rootfloat

Estimated root location.

iterationsint

Number of iterations needed to find the root.

function_callsint

Number of times the function was called.

convergedbool

True if the routine converged.

flagstr

Description of the cause of termination.

Previous topic

scipy.optimize.toms748

Next topic

root_scalar(method=’brentq’)