Click or drag to resize
Accord.NET (logo)

FiniteDifferencesHessian Method (Double, Double)

Computes the Hessian matrix at given point x.

Namespace:  Accord.Math.Differentiation
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public double[][] Hessian(
	double[] x,
	double[][] result
)
Request Example View Source

Parameters

x
Type: SystemDouble
The point where to compute the gradient.
result
Type: SystemDouble
The matrix where the Hessian should be stored.

Return Value

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