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