Click or drag to resize

NMathFunctionsNaNMaxAbsIndex(DoubleVector) Method

Calculates the index of the maximum absolute 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 NaNMaxAbsIndex(
	DoubleVector data
)

Parameters

data  DoubleVector
A vector.

Return Value

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