# rowswap

From matlib v0.9.2
by Michael Friendly

##### Interchange two rows of a matrix

This elementary row operation corresponds to interchanging two equations.

##### Usage

`rowswap(x, from, to)`

##### Arguments

- x
a matrix, possibly consisting of the coefficient matrix, A, joined with a vector of constants, b.

- from
source row.

- to
destination row

##### Value

the matrix `x`

, with rows `from`

and `to`

interchanged

##### See Also

*Documentation reproduced from package matlib, version 0.9.2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.