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(
	DoubleVector data
)
Visual Basic (Declaration)
Public Shared Function NaNMinAbsIndex ( _
	data As DoubleVector _
) As Integer
Visual C++
public:
static int NaNMinAbsIndex(
	DoubleVector^ data
)

Parameters

data
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector.

Return Value

Absolute minimum index.

Remarks

Returns -1 if data has length of zero.

See Also