Calculates the index of the minimum 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 NaNMinAbsIndex(
	double[] data
)
Visual Basic (Declaration)
Public Shared Function NaNMinAbsIndex ( _
	data As Double() _
) As Integer
Visual C++
public:
static int NaNMinAbsIndex(
	array<double>^ data
)

Parameters

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

Return Value

Absolute minimum index.

Remarks

Returns -1 if data has length of zero.

See Also