next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
Macaulay2Doc
::
rowSwap
rowSwap -- interchange rows
Synopsis
Usage:
rowSwap(m,i,j)
Inputs:
m
,
a
mutable matrix
i
,
an
integer
j
,
an
integer
Consequences:
Interchanges the
i
th and
j
th rows of
m
Description
m = mutableMatrix matrix{{1,2,3},{4,5,6}}
rowSwap(m,0,1)
m
See also
mutable matrices
row and column operations
Ways to use
rowSwap
:
rowSwap(MutableMatrix,ZZ,ZZ)