Function to sort an array into descending order by the first nKeys
and returns the permutation vector.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static void Descending(
double[,] ra,
int nKeys,
int[] iperm
) |
Visual Basic (Declaration) |
---|
Public Shared Sub Descending ( _
ra As Double(,), _
nKeys As Integer, _
iperm As Integer() _
) |
Visual C++ |
---|
public:
static void Descending(
array<double,2>^ ra,
int nKeys,
array<int>^ iperm
) |
Parameters
- ra
- Type: array<
System..::.Double
,2>[,](,)[,]
a double array to be sorted into descending order.
- nKeys
- Type: System..::.Int32
int containing the first nKeys
columns of ra to be used as the sorting keys.
- iperm
- Type: array<
System..::.Int32
>[]()[]
an int array specifying the rearrangement
(permutation) of the observations (rows) of ra.
See Also