MultidimensionalOptimizer.EvaluateFunctionAndGradient 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.0
C#
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

Double
The value of the objective function at point.

See Also