Click or drag to resize
Accord.NET (logo)

FiniteDifferencesGradient Method (Double)

Computes the gradient at the given point x.

Namespace:  Accord.Math.Differentiation
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 point where to compute the gradient.

Return Value

Type: Double
The gradient of the function evaluated at point x.
See Also