ZeroCrossingBracketingReduce Method |
Attempts to reduce a range to a smaller interval containing a sign change.
Namespace: Altaxo.Calc.RootFindingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool Reduce(
Func<double, double> f,
ref double lowerBound,
ref double upperBound,
int subdivisions = 1000
)
Parameters
- f FuncDouble, Double
- The function to inspect.
- lowerBound Double
- On input, the lower bound of the interval. On success, the reduced lower bound.
- upperBound Double
- On input, the upper bound of the interval. On success, the reduced upper bound.
- subdivisions Int32 (Optional)
- The number of subdivisions to inspect.
Return Value
Boolean if a reduced bracketing interval was found; otherwise,
.
See Also