Returns the mode of the given data set.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double GetMode( double[] x ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetMode ( _ x As Double() _ ) As Double |
Visual C++ |
---|
public: static double GetMode( array<double>^ x ) |
Parameters
- x
- Type: array<
System..::.Double
>[]()[]
A double array containing the data set whose mode is to be found.
Return Value
A double which specifies the mode of the given data set.
Remarks
Ties are broken at random.