Negates a vector.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static FloatVector Negate( FloatVector v ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Negate ( _ v As FloatVector _ ) As FloatVector |
| Visual C++ |
|---|
public: static FloatVector^ Negate( FloatVector^ v ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
Return Value
A new vector containing negated values.
Remarks
u[i] = -v[i]