Package | Description |
---|---|
cern.colt |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
cern.colt.list.tint |
Resizable list holding elements of int data type.
|
cern.colt.matrix.tdouble.algo |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
cern.colt.matrix.tfloat.algo |
Linear Algebraic matrix computations operating on
FloatMatrix2D
and FloatMatrix1D . |
cern.colt.matrix.tint.algo |
Algorithms operating on integer matrices.
|
Modifier and Type | Method and Description |
---|---|
static int |
Sorting.binarySearchFromTo(int from,
int to,
IntComparator comp)
Generically searches the list for the specified value using the binary
search algorithm.
|
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 |
Sorting.mergeSort(int[] a,
int fromIndex,
int toIndex,
IntComparator c)
Sorts the specified range of the specified array of elements according to
the order induced by the specified comparator.
|
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 |
Sorting.parallelQuickSort(int[] a,
int fromIndex,
int toIndex,
IntComparator c)
Multithreaded quicksort
|
static void |
Sorting.quickSort(int[] a,
int fromIndex,
int toIndex,
IntComparator c)
Sorts the specified range of the specified array of elements according to
the order induced by the specified comparator.
|
static void |
ParallelQuickSort.quickSort(int[] x,
int off,
int len,
IntComparator comp,
int nThreads)
Multithreaded quicksort.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractIntList.mergeSortFromTo(int from,
int to,
IntComparator c)
Sorts the receiver according to the order induced by the specified
comparator.
|
void |
AbstractIntList.quickSortFromTo(int from,
int to,
IntComparator c)
Sorts the receiver according to the order induced by the specified
comparator.
|
Modifier and Type | Method and Description |
---|---|
int[] |
DoubleSorting.sortIndex(DoubleMatrix1D vector,
IntComparator comp)
Multithreaded method that sorts indexes of the
vector
according to the comparator comp . |
Modifier and Type | Method and Description |
---|---|
int[] |
FloatSorting.sortIndex(FloatMatrix1D vector,
IntComparator comp)
Multithreaded method that sorts indexes of the
vector
according to the comparator comp . |
Modifier and Type | Method and Description |
---|---|
IntMatrix1D |
IntSorting.sort(IntMatrix1D vector,
IntComparator c)
Sorts the vector into ascending order, according to the order induced by
the specified comparator.
|
int[] |
IntSorting.sortIndex(IntMatrix1D vector,
IntComparator c)
Sorts indexes of the
vector according to the comparator
c . |
Jump to the Parallel Colt Homepage