Here you can find the source of intToDouble(int[] input)
public static double[] intToDouble(int[] input)
//package com.java2s; //License from project: Open Source License public class Main { public static double[] intToDouble(int[] input) { double[] out = new double[input.length]; for (int i = 0; i < out.length; i++) { out[i] = input[i];/*w ww . jav a 2s.c om*/ } return out; } }