Thank you Max! The remapping works perfectly! That’s what I needed. You made it
into the acknowledgments of the paper :-)
And apologies, in hindsight it was quite a simple solution I should have found
myself…
Many thanks again,
Ruben
> Remap the permutations directly:
>
> gap> gens:=[(10000,20000),(30000,40000)];
> gap> mp := MovedPoints(gens);;
> gap> smallgens:=List(gens, g -> Permutation(g, mp));
> [ (1,2), (3,4) ]
>
> # perform orbit computation
> gap> small_orbs:=Orbits(Group(smallgens));
> [ [ 1, 2 ], [ 3, 4 ] ]
>
> # map back to the original numbers
> gap> orbs:=List(small_orbs, o->mp{o});
> [ [ 10000, 20000 ], [ 30000, 40000 ] ]
>
> Hope that helps,
> Max
_______________________________________________
Forum mailing list
[email protected]
https://mail.gap-system.org/mailman/listinfo/forum