IMSL C# Numerical Library

MinConGenLin.IGradient.Gradient Method 

Public interface for the user-supplied function to compute the gradient at point x.

void Gradient(
   double[] x,
   double[] g
);

Parameters

x
A double array, the point at which the gradient is evaluated. x.length equals the number of variables.
g
A double array which, on return, contains the values of the gradient of the objective function.

See Also

MinConGenLin.IGradient Interface | Imsl.Math Namespace