List of utility methods to do Double Array Min
double[] | getMinValue(double[] val) get Min Value double min = Double.MAX_VALUE; int index = 0; for (int i = 0; i < val.length; i++) { double v = val[i]; if (v < min) { min = v; index = i; return new double[] { min, index }; |
boolean | isSequence(final double start, final double mid, final double end) Check whether the arguments form a (strictly) increasing sequence. return (start < mid) && (mid < end);
|