Click or drag to resize
Accord.NET (logo)

FiniteDifferencesCompute Method (Double, Double)

Computes the gradient at the given point x, storing the result at gradient.

Namespace:  Accord.Math.Differentiation
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.7.0
Syntax
public void Compute(
	double[] x,
	double[] gradient
)
Request Example View Source

Parameters

x
Type: SystemDouble
The point where to compute the gradient.
gradient
Type: SystemDouble
The gradient of the function evaluated at point x.
See Also