Click or drag to resize
Accord.NET (logo)

NonlinearConstraintGradient 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
public 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.

Implements

IConstraintGradient(Double)
See Also