chsvlib
chsv helper source code

◆ RemoveColumnsMe() [4/6]

derived_type& RemoveColumnsMe ( reverse_iterator  itBegin,
reverse_iterator  itEnd 
)

Removes a specified range of columns from a matrix. .

Parameters
itBeginA reverse iterator associated with the rightmost column within the range of columns to be removed from the current matrix.
itEndA reverse iterator associated with a (pseudo) column to the left of the columns to be removed.
Returns
A reference to the current matrix.

The itBegin iterator must be associated with the column which is to the right or is the same column as the one associated with itEnd, i.e. the expression \(itBegin\leq itEnd\) must be true.

Exceptions
Chusov::Exceptions::InvalidParameterExceptionThe constraint \(itBegin\leq itEnd\) has been violated.
Chusov::Exceptions::OutOfRangeExceptionThe specified range is not a valid range of columns of the matrix.