static void |
MathArrays.checkOrder(double[] val,
MathArrays.OrderDirection dir,
boolean strict) |
Check that the given array is sorted.
|
static boolean |
MathArrays.checkOrder(double[] val,
MathArrays.OrderDirection dir,
boolean strict,
boolean abort) |
Check that the given array is sorted.
|
static <T extends CalculusFieldElement<T>> void |
MathArrays.checkOrder(T[] val,
MathArrays.OrderDirection dir,
boolean strict) |
Check that the given array is sorted.
|
static <T extends CalculusFieldElement<T>> boolean |
MathArrays.checkOrder(T[] val,
MathArrays.OrderDirection dir,
boolean strict,
boolean abort) |
Check that the given array is sorted.
|
static boolean |
MathArrays.isMonotonic(double[] val,
MathArrays.OrderDirection dir,
boolean strict) |
Check that an array is monotonically increasing or decreasing.
|
static <T extends Comparable<? super T>> boolean |
MathArrays.isMonotonic(T[] val,
MathArrays.OrderDirection dir,
boolean strict) |
Check that an array is monotonically increasing or decreasing.
|
static void |
MathArrays.sortInPlace(double[] x,
MathArrays.OrderDirection dir,
double[]... yList) |
Sort an array in place and perform the same reordering of entries on
other arrays.
|