Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *SortDescend(); | Sorts vector elements in descending order. |
| 2 | TVec *SortDescend(int Index, int Len); | Sort calling vector elements [Index]..[Index+Len-1]. |
| 3 | TVec *SortDescend(int Index, int Len, TVecInt *IndexVec); | Sort calling vector elements [Index]..[Index+Len-1]. |
| 4 | TVec *SortDescend(TVecInt *IndexVec); | Sort all calling vector elements. IndexVec contains contains the new order of elements. |
Overload 1: TVec *SortDescend();
Sorts vector elements in descending order.
Remarks:
Sort all calling vector elements in descending order.
Note
If the vector is complex, the complex values are first compared by the absolute value and then by the argument.
See Also: TVec::SortAscend
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 2: TVec *SortDescend(int Index, int Len);
Sort calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Remarks:
An exception is raised if TVec::ConditionCheck is True and array borders are overrun.
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 3: TVec *SortDescend(int Index, int Len, TVecInt *IndexVec);
Sort calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int | |
| 3 | IndexVec | TVecInt * |
Remarks:
An exception is raised if TVec::ConditionCheck is True and array borders are overrun.
IndexVec contains the new order of elements.
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler
Overload 4: TVec *SortDescend(TVecInt *IndexVec);
Sort all calling vector elements. IndexVec contains contains the new order of elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | IndexVec | TVecInt * |
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler