| 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
)
Public Shared Function Minimize(Of TFunctionParameter) (
objectiveFunction As Func(Of DoubleMatrix, TFunctionParameter, Double),
initialArgument As DoubleMatrix,
functionParameter As TFunctionParameter
) As DoubleMatrix
public:
generic<typename TFunctionParameter>
static DoubleMatrix^ Minimize(
Func<DoubleMatrix^, TFunctionParameter, double>^ objectiveFunction,
DoubleMatrix^ initialArgument,
TFunctionParameter functionParameter
)
static member Minimize :
objectiveFunction : Func<DoubleMatrix, 'TFunctionParameter, float> *
initialArgument : DoubleMatrix *
functionParameter : 'TFunctionParameter -> DoubleMatrix
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 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