| LagrangianFunctionGradientWithRespectToX(DoubleVector, DoubleVector, DoubleVector) Method |
Evaluates the gradient with respect to x at the given point.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void GradientWithRespectToX(
DoubleVector lambda,
DoubleVector x,
ref DoubleVector grad
)
Public Sub GradientWithRespectToX (
lambda As DoubleVector,
x As DoubleVector,
ByRef grad As DoubleVector
)
public:
void GradientWithRespectToX(
DoubleVector^ lambda,
DoubleVector^ x,
DoubleVector^% grad
)
member GradientWithRespectToX :
lambda : DoubleVector *
x : DoubleVector *
grad : DoubleVector byref -> unit
Parameters
- lambda DoubleVector
- The lambda values.
- x DoubleVector
- The point at which to evaluate the gradient.
- grad DoubleVector
- Vector into which the gradient is placed
See Also