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

FUNCTION: Perm2Rothe - calculate the Rothe diagram of a permutation

CALLING SEQUENCE:

Perm2Rothe(perm)
SG[Perm2Rothe](perm)

PARAMETERS:

perm = any list denoting a permutation

SYNOPSIS:

EXAMPLES:


> with(SG):
> Perm2Rothe([6,1,4,5,3,2]);
 
                              [ 1  2  3  4  5  x ]
                              [                  ]
                              [ x  .  .  .  .  . ]
                              [                  ]
                              [ .  3  4  x  .  . ]
                              [                  ]
                              [ .  4  5  .  x  . ]
                              [                  ]
                              [ .  5  x  .  .  . ]
                              [                  ]
                              [ .  x  .  .  .  . ]
 
> Perm2Rd([6,1,4,5,3,2]);
 
                         [5, 4, 3, 2, 1, 4, 3, 5, 4, 5]
 

SEE ALSO: Perm2Rd