Java Double Number Create toDouble(int[][] arr)

Here you can find the source of toDouble(int[][] arr)

Description

to Double

License

Apache License

Declaration

public static double[][] toDouble(int[][] arr) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static double[][] toDouble(int[][] arr) {
        double[][] ret = new double[arr.length][arr[0].length];
        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr[i].length; j++)
                ret[i][j] = arr[i][j];//from  w w  w  .ja v  a 2  s.c  om
        }
        return ret;
    }
}

Related

  1. toDouble(float[][] a)
  2. toDouble(int x)
  3. toDouble(int[] array)
  4. toDouble(int[] array)
  5. toDouble(int[] rgb)
  6. toDouble(Number n)
  7. toDouble(Number number)
  8. toDouble(Number value)
  9. toDouble(Number value)