52535455565758
public class Basic2DFactory extends BasicFactory { @Override public ByteMatrix createMatrix() { return new Basic2DByteMatrix(); }
58596061626364
} @Override public ByteMatrix createMatrix(int rows, int columns) { return new Basic2DByteMatrix(rows, columns); }
64656667686970
} @Override public ByteMatrix createMatrix(int rows, int columns, byte[] array) { return new Basic2DByteMatrix(rows, columns, array); }
70717273747576
} @Override public ByteMatrix createMatrix(byte array[][]) { return new Basic2DByteMatrix(array); }
76777879808182
} @Override public ByteMatrix createMatrix(ByteMatrix matrix) { return new Basic2DByteMatrix(matrix); }
82838485868788
} @Override public ByteMatrix createMatrix(MatrixSource source) { return new Basic2DByteMatrix(source); }
949596979899100
for (int i = 0; i < rows; i++) { Arrays.fill(array[i], value); } return new Basic2DByteMatrix(array); }
108109110111112113114
for (int j = 0; j < columns; j++) { array[i][j] = (byte)random.nextInt(); } } return new Basic2DByteMatrix(array); }
124125126127128129130
array[i][j] = value; array[j][i] = value; } } return new Basic2DByteMatrix(array); }
130131132133134135136
} @Override public ByteMatrix createSquareMatrix(int size) { return new Basic2DByteMatrix(size, size); }