On return, gvalue contains the value of the gradient, of the function, at x.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
void Gradient(
	double[] x,
	double[] gvalue
)
Visual Basic (Declaration)
Sub Gradient ( _
	x As Double(), _
	gvalue As Double() _
)
Visual C++
void Gradient(
	array<double>^ x, 
	array<double>^ gvalue
)

Parameters

x
Type: array< System..::.Double >[]()[]
A double array, the point at which the gradient of the function is to be evaluated.
gvalue
Type: array< System..::.Double >[]()[]
A double array which, on return, contains the value of the gradient, of the function, at x.

See Also