rowswap {matlib} | R Documentation |
This elementary row operation corresponds to interchanging two equations.
rowswap(x, from, to)
x |
a matrix, possibly consisting of the coefficient matrix, A, joined with a vector of constants, b. |
from |
source row. |
to |
destination row |
the matrix x
, with rows from
and to
interchanged
Other elementary row operations:
rowadd()
,
rowmult()