`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitterSection Navigationscipyscipy.clusterscipy.constantsscipy.datasetsscipy.differentiatescipy.fftscipy.fftpackscipy.integratescipy.interpolatescipy.ioscipy.linalgscipy.ndimagescipy.odrscipy.optimizescipy.signalscipy.sparsescipy.spatialscipy.specialscipy.st..." />`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitterSection Navigationscipyscipy.clusterscipy.constantsscipy.datasetsscipy.differentiatescipy.fftscipy.fftpackscipy.integratescipy.interpolatescipy.ioscipy.linalgscipy.ndimagescipy.odrscipy.optimizescipy.signalscipy.sparsescipy.spatialscipy.specialscipy.st..." /> root_scalar(method=’ridder’) — SciPy v1.15.3 Manual

root_scalar(method=’ridder’)#

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.

bracket: A sequence of 2 floats, optional

An interval bracketing a root. f(x, *args) must have different signs at the two endpoints.

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.