SciPy

root_scalar(method=’secant’)

scipy.optimize.root_scalar(args=(), method='secant', x0=None, options={})

See also

For documentation for the rest of the parameters, see scipy.optimize.root_scalar

Options:
args : tuple, optional

Extra arguments passed to the objective function.

xtol : float, optional

Tolerance (absolute) for termination.

rtol : float, optional

Tolerance (relative) for termination.

maxiter : int, optional

Maximum number of iterations.

x0 : float, required

Initial guess.

x1 : float, required

A second guess.

options: dict, optional

Specifies any method-specific options not covered above

Previous topic

root_scalar(method=’toms748’)

Next topic

root_scalar(method=’halley’)