Calculates the maximum absolute value of a given vector's elements.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static float MaxAbsValue( FloatVector v ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MaxAbsValue ( _ v As FloatVector _ ) As Single |
| Visual C++ |
|---|
public: static float MaxAbsValue( FloatVector^ v ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
Return Value
Absolute maximum value.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if v has zero length. |