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

Parameters

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

Return Value

Absolute maximum index.

Remarks

Returns -1 if data has length of zero.

See Also