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

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static int NaNMaxAbsIndex(
	double[] data
)
Visual Basic (Declaration)
Public Shared Function NaNMaxAbsIndex ( _
	data As Double() _
) As Integer
Visual C++
public:
static int NaNMaxAbsIndex(
	array<double>^ data
)

Parameters

data
Type: array< System..::.Double >[]()[]
An array.

Return Value

Absolute maximum index.

Remarks

Returns -1 if data has length of zero.

See Also