Here you can find the source of intArrayToDouble(int[] input)
public static double[] intArrayToDouble(int[] input)
//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; } }