ACE | BN | BNA | CG | CLG | COMP | FM | FREE | HEKA | IDCA | NCA | NCSF | PART | SFA | SGA | SP | SYMF | TAB | TYP |
FUNCTION: Perm2RRep - calculate the matrix representing a permutation in the regular representation
CALLING SEQUENCE:
PARAMETERS:
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]