Package | Description |
---|---|
cern.colt |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
Modifier and Type | Method and Description |
---|---|
static void |
Partitioning.genericPartition(int from,
int to,
int splitFrom,
int splitTo,
int[] splitIndexes,
IntComparator comp,
IntComparator comp2,
IntComparator comp3,
Swapper swapper)
Same as
Partitioning.partition(int[],int,int,int[],int,int,int[]) except that
it generically partitions arbitrary shaped data (for example
matrices or multiple arrays) rather than int[] arrays. |
static void |
GenericSorting.mergeSort(int fromIndex,
int toIndex,
IntComparator c,
Swapper swapper)
Sorts the specified range of elements according to the order induced by
the specified comparator.
|
static void |
GenericPermuting.permute(int[] indexes,
Swapper swapper,
int[] work)
Deprecated.
|
static void |
GenericPermuting.permute(int[] indexes,
Swapper swapper,
int[] work1,
int[] work2)
Generically reorders arbitrary shaped generic data g such that
g[i] == g[indexes[i]].
|
static void |
GenericSorting.quickSort(int fromIndex,
int toIndex,
IntComparator c,
Swapper swapper)
Sorts the specified range of elements according to the order induced by
the specified comparator.
|
Jump to the Parallel Colt Homepage