Evaluates the gradient of the constraint function and places in the
given vector.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public override void Gradient( DoubleVector x, DoubleVector grad ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Sub Gradient ( _ x As DoubleVector, _ grad As DoubleVector _ ) |
| Visual C++ |
|---|
public: virtual void Gradient( DoubleVector^ x, DoubleVector^ grad ) override |
Parameters
- x
- Type: CenterSpace.NMath.Core..::.DoubleVector
The point at which to evaluate the gradient.
- grad
- Type: CenterSpace.NMath.Core..::.DoubleVector
Vector into which to place the value of the gradient evaluated at x.