This is documentation for an old release of SciPy (version 1.8.0). Read this page in the documentation of the latest stable release (version 1.14.1).

root_scalar(method=’brentq’)#

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

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.

options: dict, optional

Specifies any method-specific options not covered above