Click or drag to resize

NMathFunctionsMaxIndex(Double) 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(
	double[] data
)

Parameters

data  Double
An array.

Return Value

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