Java Integer Array to Double intArrayToDouble(int[] input)

Here you can find the source of intArrayToDouble(int[] input)

Description

int Array To Double

License

Open Source License

Declaration

public static double[] intArrayToDouble(int[] input) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double[] intArrayToDouble(int[] input) {
        double[] output = new double[input.length];
        for (int i = 0; i < input.length; i++) {
            output[i] = input[i];/*from   w  w w  . ja  v  a2 s . c  om*/
        }
        return output;
    }
}

Related

  1. arrayIntToArrayDouble(final int[] array)
  2. intArrayToDoubleArray(int[] ints)