Java Utililty Methods Double Array to Short Array

List of utility methods to do Double Array to Short Array

Description

The list of methods to do Double Array to Short Array are organized into topic(s).

Method

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;
...