Basic Operation Layer (BasicLib)


int_to_double
to convert array of int to array of double



FUNCTIONS

double[] - int_to_double(int[] data)
double[][] - int_to_double(int[][] data)




EXAMPLES

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