Calculates the index of the minimum value in the given data set,
excluding NaN values.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static int NaNMinIndex( double[] data ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function NaNMinIndex ( _ data As Double() _ ) As Integer |
| Visual C++ |
|---|
public: static int NaNMinIndex( array<double>^ data ) |
Parameters
- data
- Type: array<
System..::.Double
>[]()[]
An array.
Return Value
Minimum index.
Remarks
Returns -1 if data has length of zero.