src/main/java/eu/digitisation/math/Arrays.java
public static double[] toDouble(int[] array) {
        double[] darray = new double[array.length];
        for (int i = 0; i < array.length; i++) {
            darray[i] = array[i];
        }
        return darray;
    }
/**
     * Transform an int array into a an array of doubles
     *
     * @param array integer array
     * @return the array of double precision values
     */
Transform an int array into a an array of doubles
@param array integer array
@return the array of double precision values
Transform an int array into a an array of doubles @param array integer array @return the array of double precision values
public static double[] toDouble(int[] array) {
        double[] darray = new double[array.length];
        for (int i = 0; i < array.length; i++) {
            darray[i] = array[i];
        }
        return darray;
    }
public static double [ ] toDouble ( int [ ] array ) { double [ ] darray = new double [ array . length ] ; for ( int i = 0 ; i < array . length ; i ++ ) { darray [ i ] = array [ i ] ; } return darray ; }
Transform an int array into a an array of doubles
 @param array integer array
 @return the array of double precision values
Transform an int array into a an array of doubles @param array integer array @return the array of double precision values