# scipy.optimize.RootResults

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

  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.

scipy.optimize.toms748 root_scalar(method=’brentq’)