Description
Method is currently in utility class MathArrays.
Proposed API:
public enum Sort implements BiConsumer<double[],double[][]> { /** Sort in ascending order. */ ASCENDING((o1, o2) -> Double.compare(o1.key(), o2.key())), /** Sort in descending order. */ DESCENDING(ASCENDING.comparator.reversed()); // ... @Override public void accept(double[] x, double[]... yList) { // ... } }
Attachments
Issue Links
- relates to
-
NUMBERS-30 Move "array" utilities from "Commons Math"
- Open