Multidimensional Optimizer.Evaluate Function And Gradient Method
Evaluates the objective function and its gradient at the same time.
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value of the objective function at point.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected double EvaluateFunctionAndGradient(
Vector<double> point,
Vector<double> gradient
)
Parameters
- point Vector<Double>
- The point at which to evaluate the objective function and its gradient.
- gradient Vector<Double>
- A vector that is to hold the gradient.
Return Value
DoubleThe value of the objective function at point.