Package | Description |
---|---|
cern.colt |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
cern.colt.list.tlong |
Resizable list holding elements of long data type.
|
cern.colt.matrix.tlong.algo |
Algorithms operating on long integer matrices.
|
Modifier and Type | Method and Description |
---|---|
static void |
Sorting.mergeSort(long[] a,
int fromIndex,
int toIndex,
LongComparator c)
Sorts the specified range of the specified array of elements according to
the order induced by the specified comparator.
|
static void |
Sorting.parallelQuickSort(long[] a,
int fromIndex,
int toIndex,
LongComparator c)
Multithreaded quicksort
|
static void |
Sorting.quickSort(long[] a,
int fromIndex,
int toIndex,
LongComparator c)
Sorts the specified range of the specified array of elements according to
the order induced by the specified comparator.
|
static void |
ParallelQuickSort.quickSort(long[] x,
int off,
int len,
LongComparator comp,
int nThreads)
Multithreaded quicksort.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLongList.mergeSortFromTo(int from,
int to,
LongComparator c)
Sorts the receiver according to the order induced by the specified
comparator.
|
void |
AbstractLongList.quickSortFromTo(int from,
int to,
LongComparator c)
Sorts the receiver according to the order induced by the specified
comparator.
|
Modifier and Type | Method and Description |
---|---|
LongMatrix1D |
LongSorting.sort(LongMatrix1D vector,
LongComparator c)
Sorts the vector into ascending order, according to the order induced by
the specified comparator.
|
int[] |
LongSorting.sortIndex(LongMatrix1D vector,
LongComparator c)
Sorts indexes of the
vector according to the comparator
c . |
Jump to the Parallel Colt Homepage