Calculates the gradient of this functional.
Namespace: CenterSpace.NMath.CoreAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
public DoubleVector Gradient( DoubleVector x ) |
| Visual Basic |
|---|
Public Function Gradient ( _ x As DoubleVector _ ) As DoubleVector |
| Visual C++ |
|---|
public: DoubleVector^ Gradient( DoubleVector^ x ) |
Parameters
- x
- Type: CenterSpace.NMath.Core..::..DoubleVector
The point at which to evaluate the gradient.
Return Value
The gradient.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::..InvalidArgumentException | Thrown if the length of x does not match the domain dimension of this functional. |