chsvlib
chsv helper source code

◆ SwapColumns()

void SwapColumns ( size_type  iColumn1,
size_type  iColumn2 
)

Swaps the specified columns within the current matrix.

Parameters
iColumn1is an index of the first column to swap.
iColumn2is an index of the second column to swap.
Exceptions
Chusov::Exceptions::OutOfRangeExceptionAny of the specified indices are out of the valid range of dereferenceable indices of columns.