SortAscending Method (Int32, Int32) |
Sort an integer array into ascending order and returns the permutation vector.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static void Ascending(
int[] ra,
int[] iperm
)
Public Shared Sub Ascending (
ra As Integer(),
iperm As Integer()
)
public:
static void Ascending(
array<int>^ ra,
array<int>^ iperm
)
static member Ascending :
ra : int[] *
iperm : int[] -> unit
Parameters
- ra
- Type: SystemInt32
int array to be sorted into ascending order
- iperm
- Type: SystemInt32
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