@Test public void testSetQuick() { for (int row = 0; row < test.rowSize(); row++) { for (int col = 0; col < test.columnSize(); col++) { test.setQuick(row, col, 1.23); assertEquals("value[" + row + "][" + col + ']', 1.23, test.getQuick( row, col), EPSILON); } } }
@Override public void setQuick(int row, int column, double value) { matrix.setQuick(offset[ROW] + row, offset[COL] + column, value); }
MatrixView extends AbstractMatrix { @Override public void setQuick(int row, int column, double value) { matrix.setQuick(offset[ROW] + row, offset[COL] + column, value); } }
MatrixView extends AbstractMatrix { @Override public void setQuick(int row, int column, double value) { matrix.setQuick(offset[ROW] + row, offset[COL] + column, value); } MatrixView(Matrix matrix, int[] offset, int[] size); }
MatrixView extends AbstractMatrix { @Override public void setQuick(int row, int column, double value) { matrix.setQuick(offset[ROW] + row, offset[COL] + column, value); } MatrixView(Matrix matrix, int[] offset, int[] size); @Override Matrix clone(); @Override double getQuick(int row, int column); @Override Matrix like(); @Override Matrix like(int rows, int columns); @Override void setQuick(int row, int column, double value); @Override int[] getNumNondefaultElements(); @Override Matrix viewPart(int[] offset, int[] size); @Override Matrix assignColumn(int column, Vector other); @Override Matrix assignRow(int row, Vector other); @Override Vector viewColumn(int column); @Override Vector viewRow(int row); @Override MatrixFlavor getFlavor(); }
MatrixView extends AbstractMatrix { @Override public void setQuick(int row, int column, double value) { matrix.setQuick(offset[ROW] + row, offset[COL] + column, value); } MatrixView(Matrix matrix, int[] offset, int[] size); @Override Matrix clone(); @Override double getQuick(int row, int column); @Override Matrix like(); @Override Matrix like(int rows, int columns); @Override void setQuick(int row, int column, double value); @Override int[] getNumNondefaultElements(); @Override Matrix viewPart(int[] offset, int[] size); @Override Matrix assignColumn(int column, Vector other); @Override Matrix assignRow(int row, Vector other); @Override Vector viewColumn(int column); @Override Vector viewRow(int row); @Override MatrixFlavor getFlavor();  }