Click or drag to resize

NMathFunctionsNaNMaxIndex(Double) Method

Calculates the index of the maximum value in the given data set, excluding NaN values.

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

Parameters

data  Double
An array.

Return Value

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