You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > SortDescend Method > TMtxVecInt.SortDescend Method (TMtxVecInt, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.SortDescend Method (TMtxVecInt, int, int, int)

Sort all calling vector elements in descending order in-place.

Syntax
C#
Visual Basic
public TMtxVecInt SortDescend(TMtxVecInt DstSortIdx, int SortIdxIndex, int Index, int Len);
Parameters 
Description 
TMtxVecInt DstSortIdx 
After execution stores sorted values indices. 
int SortIdxIndex 
The starting index at which to store sorted values indices in DstSortIdx. 
int Index 
The starting index at which to start the sort. 
int Len 
The number of elements to sort starting from including zero-based Index. 

calling vector, storing sorted values.

Size of DstSortIdx and calling vector are adjusted automatically.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!