IMSL C# Numerical Library

Summary.GetMode Method 

Returns the mode of the given data set.

public static double GetMode(
   double[] x
);

Parameters

x
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.

See Also

Summary Class | Imsl.Stat Namespace