Evaluates the gradient with respect to x at the given point.

Namespace: CenterSpace.NMath.Analysis
Assembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0

Syntax

C#
public void GradientWithRespectToX(
	DoubleVector lambda,
	DoubleVector x,
	ref DoubleVector grad
)
Visual Basic
Public Sub GradientWithRespectToX ( _
	lambda As DoubleVector, _
	x As DoubleVector, _
	ByRef grad As DoubleVector _
)
Visual C++
public:
void GradientWithRespectToX(
	DoubleVector^ lambda, 
	DoubleVector^ x, 
	DoubleVector^% grad
)

Parameters

lambda
Type: CenterSpace.NMath.Core..::..DoubleVector
The lambda values.
x
Type: CenterSpace.NMath.Core..::..DoubleVector
The point at which to evaluate the gradient.
grad
Type: CenterSpace.NMath.Core..::..DoubleVector%
Vector into which the gradient is placed

See Also