Gets two-dimensional real array. @return - 2D real array
()
| 87 | * @return - 2D real array |
| 88 | */ |
| 89 | public long[][] getArray() { |
| 90 | long[][] result = new long[getM()][]; |
| 91 | |
| 92 | for (int m = 0; m < getM(); m++) { |
| 93 | result[m] = new long[getN()]; |
| 94 | |
| 95 | for (int n = 0; n < getN(); n++) { |
| 96 | result[m][n] = getReal(m, n); |
| 97 | } |
| 98 | } |
| 99 | return result; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Casts <code>Double[]</code> to <code>byte[]</code> |