Evaluates the gradient with respect to x at the given point.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void GradientWithRespectToX( DoubleVector lambda, DoubleVector x, ref DoubleVector grad ) |
| Visual Basic (Declaration) |
|---|
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