public static DoubleMatrix Maximize(
Func<DoubleMatrix, double> objectiveFunction,
DoubleMatrix initialArgument
)
Public Shared Function Maximize (
objectiveFunction As Func(Of DoubleMatrix, Double),
initialArgument As DoubleMatrix
) As DoubleMatrix
public:
static DoubleMatrix^ Maximize(
Func<DoubleMatrix^, double>^ objectiveFunction,
DoubleMatrix^ initialArgument
)
static member Maximize :
objectiveFunction : Func<DoubleMatrix, float> *
initialArgument : DoubleMatrix -> DoubleMatrix
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.
ArgumentNullException | objectiveFunction is
null. -or- initialArgument is null. |
ArgumentException | initialArgument is not a row vector. |