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