Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double mode(TVec *Src); | Mode of all Src vector elements. |
| 2 | double mode(TVec *Src, int SrcIndex, int Len); | Mode of Src vector elements [SrcIndex..SrcIndex+Len]. |
Overload 1: double mode(TVec *Src);
Mode of all Src vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * |
Remarks:
The mode of a data sample is the element that occurs most often in the collection. For example, the mode of the sample [1, 3, 6, 6, 6, 6, 7, 7, 12, 12, 17] is 6. Given the list of data [1, 1, 2, 4, 4] the mode is not unique, unlike the arithmetic mean.
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler
Overload 2: double mode(TVec *Src, int SrcIndex, int Len);
Mode of Src vector elements [SrcIndex..SrcIndex+Len].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | SrcIndex | int | |
| 3 | Len | int |
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler