static int[] iroundDoubleArray(double[] a, int start, int end) { int[] b = new[end-start]; for (int i = start; i < end; i++) b[i-start] = iround(a[i]); ret b; } static int[] iroundDoubleArray(double[] a) { ret a == null ?: iroundDoubleArray(a, 0, a.length); }