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

FUNCTION: CompPerm - compare two permutations

CALLING SEQUENCE:

CompPerm(perm_1, perm_2, kind)
SG[CompPerm](perm_1, perm_2, kind)

PARAMETERS:

perm_1, perm_2 = any lists denoting permutations
kind = 'lexic', 'cixel', 'bruhat'

SYNOPSIS:

EXAMPLES:


> with(SG):
> CompPerm([3,1,2], [1,3,2], 'lexic');
 
                                      true
 
> CompPerm([3,1,2], [1,3,2], 'cixel');
 
                                     false
 
> CompPerm([3,1,2], [1,3,2], 'bruhat');
 
                                      true
 

SEE ALSO: