[GAP Forum] Re: Cycle type of a permutation in GAP.
Alexander Hulpke
hulpke at math.colostate.edu
Wed May 31 16:56:38 BST 2006
> On 31 May 2006, at 15:50, Fernando Fantino wrote:
>
>> Is there a GAP command that tests whether two permutations have
>> the same =
>> cycle type structure?
>>
>> i.e. if x=(123) (45)(789)
>>
>> " command? " (x) = ( 3 , 2 , 2 ).
`CycleStructurePerm' (see the manual) will return the cycle
structure, you can then compare its values.
Best,
Alexander Hulpke
More information about the Forum
mailing list