Click or drag to resize

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.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Double
The minimizing point.
See Also