Click or drag to resize
Accord.NET (logo)

LinearConstraintGradient Method

Calculates the gradient of the constraint.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double[] Gradient(
	double[] x
)
Request Example View Source

Parameters

x
Type: SystemDouble
The vector.

Return Value

Type: Double
The gradient of the constraint.

Implements

IConstraintGradient(Double)
See Also