voidSimpleTable::addRow(conststd::vector<double>& row) {if(row.size() ==numColumns()) {for(size_tcolIndex =0; colIndex <numColumns(); colIndex++) {auto& col = getColumn( colIndex ); col.addValue( row[colIndex] ); } }elsethrowstd::invalid_argument("Size mismatch"); } 开发者ID...