Multidimensional Optimizer.Evaluate Function And Gradient Method
Evaluates the objective function and its gradient at the same time.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The value of the objective function at point.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.