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.3179.0 (4.8.3179.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

[Missing <param name="function"/> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

lowerBound  Double

[Missing <param name="lowerBound"/> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

upperBound  Double

[Missing <param name="upperBound"/> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

tolerance  Double  (Optional)

[Missing <param name="tolerance"/> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

maxIterations  Int32  (Optional)

[Missing <param name="maxIterations"/> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.FindMinimum.OfScalarFunctionConstrained(System.Func{System.Double,System.Double},System.Double,System.Double,System.Double,System.Int32)"]

See Also