public void swapColumns ( int i , int j ) { if ( i != j ) { Vector ii = getColumn ( i ) ; Vector jj = getColumn ( j ) ; setColumn ( i , jj ) ; setColumn ( j , ii ) ; } }
Swaps the specified columns of this matrix .