Uses of Interface
cern.colt.function.DoubleComparator
Packages that use DoubleComparator
Package
Description
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
Resizable lists holding objects or primitive data types such as int,
double, etc.
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
-
Uses of DoubleComparator in cern.colt
Methods in cern.colt with parameters of type DoubleComparatorModifier and TypeMethodDescriptionprivate static int
Sorting.med3
(double[] x, int a, int b, int c, DoubleComparator comp) Returns the index of the median of the three indexed chars.static void
Sorting.mergeSort
(double[] a, int fromIndex, int toIndex, DoubleComparator c) Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.private static void
Sorting.mergeSort1
(double[] src, double[] dest, int low, int high, DoubleComparator c) static void
Sorting.quickSort
(double[] a, int fromIndex, int toIndex, DoubleComparator c) Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.private static void
Sorting.quickSort1
(double[] x, int off, int len, DoubleComparator comp) Sorts the specified sub-array of chars into ascending order. -
Uses of DoubleComparator in cern.colt.list
Methods in cern.colt.list with parameters of type DoubleComparatorModifier and TypeMethodDescriptionvoid
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. -
Uses of DoubleComparator in cern.colt.matrix.doublealgo
Methods in cern.colt.matrix.doublealgo with parameters of type DoubleComparatorModifier and TypeMethodDescriptionSorting.sort
(DoubleMatrix1D vector, DoubleComparator c) Sorts the vector into ascending order, according to the order induced by the specified comparator.