StableDistributionBaseBracketRootByExtensionOnly Method |
Find the bracket of a root, i.e. values for x0 and x1, so that ysearch is inbetween f(x0) and f(x1). This is done be extension of the interval [x0,x1] either
to the left or the right side or both. True is returned when a bracket was found.
Namespace: Altaxo.Calc.ProbabilityAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool BracketRootByExtensionOnly(
Func<double, double> func,
double ysearch,
ref double x0,
ref double x1
)
Parameters
- func FuncDouble, Double
- The function used to evaluate the function values.
- ysearch Double
- The value to find.
- x0 Double
- Starting parameter of x0, at the end the lower value of the bracket interval.
- x1 Double
- Starting parameter of x1, at the end the upper value of the bracket interval.
Return Value
BooleanTrue if a bracket interval was found. If such an interval could not be found, the return value is false.
See Also