Calculates the gradient of this functional.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleVector Gradient( DoubleVector x ) |
| Visual Basic (Declaration) |
|---|
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. |