Package | Description |
---|---|
org.apache.mahout.math |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
org.apache.mahout.math.list |
Resizable lists holding objects or primitive data types such as int,
double, etc.
|
Modifier and Type | Method and Description |
---|---|
static void |
Sorting.mergeSort(double[] array,
int start,
int end,
DoubleComparator comp)
Perform a merge sort on a range of a double array using a specified ordering.
|
static void |
Sorting.quickSort(double[] array,
int start,
int end,
DoubleComparator comp)
Sorts the specified range in the array in a specified order.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDoubleList.mergeSortFromTo(int from,
int to,
DoubleComparator c)
Sorts the receiver according to the order induced by the specified comparator.
|
void |
AbstractDoubleList.quickSortFromTo(int from,
int to,
DoubleComparator c)
Sorts the receiver according to the order induced by the specified comparator.
|
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.