Click or drag to resize

NMathFunctionsMaxIndex(Int32) Method

Calculates the index of the maximum value in the given data set.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static int MaxIndex(
	int[] data
)

Parameters

data  Int32
An array.

Return Value

Int32
Maximum index.
Remarks
Returns -1 if data has length of zero.
See Also