Click or drag to resize
Accord.NET (logo)

IConstraintGradient Method

Calculates the gradient of the constraint equation given a vector x

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

Parameters

x
Type: SystemDouble
The vector.

Return Value

Type: Double
The gradient of the constraint as evaluated at x.
See Also