Click or drag to resize

RootFinderBaseBracketRoot Method

Attempts to bracket a root given the function and an initial guess near a suspected root.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Interval BracketRoot(
	OneVariableFunction f,
	double x0
)

Parameters

f  OneVariableFunction
The one variable function
x0  Double
Initial guess near a root.

Return Value

Interval
A interval.
Exceptions
ExceptionCondition
NMathExceptionWhen attempting to bracket the root before root finding, the function was evaluated outside of its real domain. Try a new starting point.
See Also