derived_type RemoveRows | ( | size_type | iRowBegin, |
size_type | iRowEnd | ||
) | const |
Removes a specified range of rows from a returned copy of a matrix. .
iRowBegin | An index of the topmost row within the range of rows to be removed from the copy of the current matrix. |
iRowEnd | An index of the first row below the range of columns to be removed. If such a row does not exist in the current matrix, the index can still be valid, if it holds a total number of rows within the matrix and, as such, satisfies the past-the-end condition, i.e. it is not dereferenceable but valid to address a range. |
Chusov::Exceptions::InvalidParameterException | The constraint \(iRowBegin\leq iRowEnd\) has been violated. |
Chusov::Exceptions::OutOfRangeException | The specified range \(\left[iRowBegin, iRowEnd\right)\) is not included or equal to the index range of rows of the current matrix, which is \(\left[0, Rows()\right)\). |