LinearConstraint.EvaluateGradient Method

Evaluates the gradient of the constraint at the specified point.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override Vector<double> EvaluateGradient(
	Vector<double> x
)

Parameters

x  Vector<Double>
The point at which to evaluate the constraint gradient.

Return Value

Vector<Double>
The value of the constraint gradient at x.

Remarks

For a linear constraint, the gradient is equal to the vector of coefficients. It is independent of x.

See Also