Click or drag to resize

ContinuousOptimizationMinimizeTFunctionParameter Method (FuncDoubleMatrix, TFunctionParameter, Double, DoubleMatrix, TFunctionParameter)

Finds the minimum of the specified parametric objective function.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static DoubleMatrix Minimize<TFunctionParameter>(
	Func<DoubleMatrix, TFunctionParameter, double> objectiveFunction,
	DoubleMatrix initialArgument,
	TFunctionParameter functionParameter
)

Parameters

objectiveFunction
Type: SystemFuncDoubleMatrix, TFunctionParameter, Double
The objective function to be minimized.
initialArgument
Type: Novacta.AnalyticsDoubleMatrix
The argument at which the method starts the search for optimality.
functionParameter
Type: TFunctionParameter
The function parameter.

Type Parameters

TFunctionParameter
The type of the function parameter.

Return Value

Type: DoubleMatrix
The argument at which the function is minimized.
Exceptions
ExceptionCondition
ArgumentNullExceptionobjectiveFunction is null.
-or-
initialArgument is null.
ArgumentExceptioninitialArgument is not a row vector.
Remarks

It is assumed that the objectiveFunction will accept row vectors as valid representations of an argument. As a consequence, initialArgument is expected to be a row vector.

See Also