chsvlib
chsv helper source code

◆ RemoveColumnsMe() [2/6]

derived_type& RemoveColumnsMe ( iterator  itBegin,
iterator  itEnd 
)

Removes a specified range of columns from a matrix. .

Parameters
itBeginAn iterator of the first column within the range of columns to be removed from the current matrix.
itEndAn iterator associated with a (pseudo) column to the right 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 left 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.