next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
Macaulay2Doc
::
columnPermute
columnPermute -- permute some columns
Synopsis
Usage:
columnPermute(m,i,{...})
Inputs:
m
,
a
mutable matrix
i
,
an
integer
, starting column
a list of integers, denoting a permutation of
0..d
, for some number
d
Consequences:
If the permutation is
{p0,p1,...,pd}
, then
m
is modified so that the
i+j
column becomes the
i+pj
column of the original matrix, for
j=0..d
Description
m = mutableMatrix map(ZZ^5,ZZ^6, (i,j) -> 100*i+j)
columnPermute(m,1,{2,0,1})
See also
mutable matrices
row and column operations
Ways to use
columnPermute
:
columnPermute(MutableMatrix,ZZ,List)