List of utility methods to do Double Array to Short Array
short[] | doublesToShorts(final double[] array) convert an array of double values to an array of short . final short[] res; int i; res = new short[array.length]; i = 0; for (final double x : array) { res[i++] = ((short) x); return res; ... |