FindMinimumOfScalarFunctionConstrained Method |
Find value x that minimizes the scalar function f(x), constrained within bounds, using the Golden Section algorithm.
For more options and diagnostics consider to use
GoldenSectionMinimizer directly.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double OfScalarFunctionConstrained(
Func<double, double> function,
double lowerBound,
double upperBound,
double tolerance = 1E-05,
int maxIterations = 1000
)
Parameters
- function FuncDouble, Double
- The scalar function to minimize.
- lowerBound Double
- The lower bound of the search interval.
- upperBound Double
- The upper bound of the search interval.
- tolerance Double (Optional)
- The termination tolerance.
- maxIterations Int32 (Optional)
- The maximum number of iterations.
Return Value
DoubleThe minimizing point.
See Also