ACE BN BNA CG CLG COMP FM FREE HEKA IDCA NCA NCSF PART SFA SG SGA SP SYMF TAB TYP

FUNCTION: Perm2RRep - calculate the matrix representing a permutation in the regular representation

CALLING SEQUENCE:

Perm2RRep(perm)
SG[Perm2RRep](perm)

PARAMETERS:

perm = any list denoting a permutation

SYNOPSIS:

EXAMPLES:


> with(SG):
> Perm2RRep([2,3,1]);
 
                             [ 0  0  0  0  1  0 ]
                             [                  ]
                             [ 0  0  0  0  0  1 ]
                             [                  ]
                             [ 0  1  0  0  0  0 ]
                             [                  ]
                             [ 1  0  0  0  0  0 ]
                             [                  ]
                             [ 0  0  0  1  0  0 ]
                             [                  ]
                             [ 0  0  1  0  0  0 ]
 
> RRep2Perm( Perm2RRep([2,3,1]) );
 
                                   [2, 3, 1]
 

SEE ALSO: Mat2Perm Perm2Mat RRep2Perm