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.