class Matrix {

  public final ColumnVector getRowSumVector() {
    final double[] sums = new double[this.numRows];
    this.forEach((r, c, v) -> sums[r] += v);
    return new ColumnVector(sums);
  }

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

}