Elementary Row and Column Operations

The elementary row and column operations operate directly on a matrix. That is, they alter the input matrix, instead of returning a new matrix that results from the operations. The functions are:
       Crow( VMatrix& ROp, int row=0, double c=1.0);
       Srow( VMatrix &ROp, int row1 = 0, int row2 = 0);
       Lrow( VMatrix &ROp, int row1 = 0, int row2 = 0, double c=0.0);
       Ccol( VMatrix& ROp, int col=0, double c=1.0);
       Scol( VMatrix &ROp, int col1 = 0, int col2 = 0);
       Lcol( VMatrix &ROp, int col1 = 0, int col2 = 0, double c=0.0);
Crow()(Ccol()) multiply the row(col) by the constant c. Srow()(Scol()) swap row1 with row2 (col1 with col2). Lrow()(Lcol()) add a constant multiple of row1 to row2.

Note that the functions supply out of range default arguments. This forces you to supply all of the values correctly. The default constants perform no action, so they must also be supplied.