Previous Up Next

12.2.14  Group generated by two permutations

Given permutations a and b, the group they generate is the set of all possible compositions of any number of as and any number of bs.

The groupermu command computes the group generated by two permutations.

Example

groupermu([0,2,1,3],[3,1,2,0])
     




    0213
    3120
    0123
    3210




          

Previous Up Next