class Matrix {

  public final void incrementAt(final int row, final int col, final double val) {
    final double originalVal = this.getAt(row, col);
    this.setAtUnchecked(row, col, originalVal + val);
  }

  protected  Matrix(final int numRows, final int numCols);

}