root_scalar(method=’secant’)#
- scipy.optimize.root_scalar(f, args=(), method=None, bracket=None, fprime=None, fprime2=None, x0=None, x1=None, xtol=None, rtol=None, maxiter=None, options=None)
See also
For documentation for the rest of the parameters, see
scipy.optimize.root_scalar
- Options:
- ——-
- argstuple, optional
Extra arguments passed to the objective function.
- xtolfloat, optional
Tolerance (absolute) for termination.
- rtolfloat, optional
Tolerance (relative) for termination.
- maxiterint, optional
Maximum number of iterations.
- x0float, required
Initial guess.
- x1float, required
A second guess.
- options: dict, optional
Specifies any method-specific options not covered above.