Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *SortAscend(int Index, int Len); | Sort calling vector elements [Index..Index+Len-1] in ascending order in-place. |
| 2 | TMtxVecInt *SortAscend(TMtxVecInt *DstSortIdx, int SortIdxIndex, int Index, int Len); | Sort all calling vector elements in ascending order in-place. |
| 3 | TVecInt *SortAscend(); | Sort all calling vector elements in ascending order in-place. |
| 4 | TVecInt *SortAscend(TVecInt *DstSortIdx); | Sort all calling vector elements in ascending order in-place. |
Overload 1: TMtxVecInt *SortAscend(int Index, int Len);
Sort calling vector elements [Index..Index+Len-1] in ascending order in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 2: TMtxVecInt *SortAscend(TMtxVecInt *DstSortIdx, int SortIdxIndex, int Index, int Len);
Sort all calling vector elements in ascending order in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | DstSortIdx | TMtxVecInt * | After execution stores sorted values indices. |
| 2 | SortIdxIndex | int | The starting index at which to store sorted values indices in DstSortIdx. |
| 3 | Index | int | The starting index at which to start the sort. |
| 4 | Len | int | The number of elements to sort starting from including zero-based Index. |
Returns: calling vector, storing sorted values.
Remarks:
Size of DstSortIdx and calling vector are adjusted automatically.
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 3: TVecInt *SortAscend();
Sort all calling vector elements in ascending order in-place.
See Also: TVecByte::SortDescend
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler
Overload 4: TVecInt *SortAscend(TVecInt *DstSortIdx);
Sort all calling vector elements in ascending order in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | DstSortIdx | TVecInt * | After execution stores sorted values indices. |
Returns: calling vector, storing sorted values.
Remarks:
Size of DstSortIdx and calling vector are adjusted automatically.
Declared in Dew::Math::TVecInt · Dew.Math/MtxVecInt.h · Cross-compiler