Calculates the index of the maximum absolute value in the given data set.
Namespace: CenterSpace.NMath.StatsAssembly: NMathStatsPremium (in NMathStatsPremium.dll) Version: 3.6.0.0
Syntax
| C# |
|---|
public static int MaxAbsIndex( int[] data ) |
| Visual Basic |
|---|
Public Shared Function MaxAbsIndex ( _ data As Integer() _ ) As Integer |
| Visual C++ |
|---|
public: static int MaxAbsIndex( array<int>^ data ) |
Parameters
- data
- Type: array<System..::..Int32>[]()[][]
An array.
Return Value
Absolute maximum index.
Remarks
Returns -1 if data has length of zero.