void Unique(TMtxVec *Src, TVec *Dst, TVecInt *Counts = null);
Finds the unique elements in vector/matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | Defines data unique elements search. |
| 2 | Dst | TVec * | Returns unique elements. Size and TMtxVec::Complex properties of Dst are adjusted automatically. |
| 3 | Counts = null | TVecInt * | If specifed, stores the count of each unique element in dataset. |
Remarks:
Finds and sorts the unique elements in Src vector/matrix array. Sorted values are returned in Dst vector. An exception is raised if Src is Complex. Length and Complex properties of Dst vector are adjusted automatically.
See Also: Statistics::Ranks, Statistics::TiedRanks
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler