Example |
VectorLib vlib=new VectorLib(); int[] a={4, 7, 2}; double[] b=vlib.int_to_double(a); vlib.view("Data", b); |
Output |
Data = 4.0 7.0 2.0 |
Example |
VectorLib vlib=new VectorLib(); int[][] a={{4, 7, 2}, {9, 3, 6}}; double[][] b=vlib.int_to_double(a); vlib.view("Data", b); |
Output |
Data = 4.0 7.0 2.0 9.0 3.0 6.0 |