Sort an integer array into descending order and returns the permutation
vector.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static void Descending(
int[] ra,
int[] iperm
) |
Visual Basic (Declaration) |
---|
Public Shared Sub Descending ( _
ra As Integer(), _
iperm As Integer() _
) |
Visual C++ |
---|
public:
static void Descending(
array<int>^ ra,
array<int>^ iperm
) |
Parameters
- ra
- Type: array<
System..::.Int32
>[]()[]
int array to be sorted into descending order
- iperm
- Type: array<
System..::.Int32
>[]()[]
int is on input an array the same length
as ra. On output, it contains 0, 1, ..., sorted
using the same permutations applied to ra.
See Also