LinearConstraint.EvaluateGradient Method

Evaluates the gradient of the constraint at the specified point.

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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