SciPy

scipy.optimize.RootResults

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

Represents the root finding result.

Attributes:
root : float

Estimated root location.

iterations : int

Number of iterations needed to find the root.

function_calls : int

Number of times the function was called.

converged : bool

True if the routine converged.

flag : str

Description of the cause of termination.

Previous topic

scipy.optimize.toms748

Next topic

root_scalar(method=’brentq’)