Click or drag to resize
Accord.NET (logo)

LeastSquaresGradientFunction Delegate

Gradient function delegate.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public delegate void LeastSquaresGradientFunction(
	double[] parameters,
	double[] input,
	double[] result
)

Parameters

parameters
Type: SystemDouble
The function parameters, also known as weights or coefficients.
input
Type: SystemDouble
An input vector.
result
Type: SystemDouble
The resulting gradient vector (w.r.t to the parameters).
Remarks
This delegate represents the gradient of a Least Squares objective function. This function should compute the gradient vector in respect to the function parameters.
See Also