QuickRootFindingBracketRootByExtensionOnly Method |
Finds a bracketing interval for a root by extending the interval [x0, x1].
After completion, x0 and x1 define an interval such that
ysearch lies between f(x0) and f(x1).
Namespace: Altaxo.Calc.RootFindingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static bool BracketRootByExtensionOnly(
Func<double, double> func,
double ysearch,
ref double x0,
ref double x1
)
Parameters
- func FuncDouble, Double
- Function used to evaluate the function values.
- ysearch Double
- Value to locate within the function values (i.e. find x such that f(x) == ysearch).
- x0 Double
- Initial value of x0; on success, the lower bound of the bracketing interval.
- x1 Double
- Initial value of x1; on success, the upper bound of the bracketing interval.
Return Value
Boolean if a bracketing interval was found; otherwise
.
See Also