| NMathFunctionsMaxIndex(Double) Method |
Calculates the index of the maximum value in the given data set.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static int MaxIndex(
double[] data
)
Public Shared Function MaxIndex (
data As Double()
) As Integer
public:
static int MaxIndex(
array<double>^ data
)
static member MaxIndex :
data : float[] -> int
Parameters
- data Double
- An array.
Return Value
Int32Maximum index.
Remarks Returns -1 if data has length of zero.
See Also