Hi Jason!

On 23 Nov., 16:42, Jason Grout <jason-s...@creativetrax.com> wrote:
> Question 2: Is there an easy way to convert a GAP group to a Sage group?
>

I don't know if this is always possible. But at least it should be
possible for permutation groups (at least generatorwise).

So, you could do:
sage: G = gap.SmallGroup(60,4)
sage:
PermutationGroup(G.IsomorphismPermGroup().Image().GeneratorsOfGroup())
Permutation Group with generators [(1,2)(3,4)(5,6)(7,8)(9,10)(11,12)
(13,14)(15,16)(17,18)(19,20)(21,22)(23,24)(25,26)(27,28)(29,30)(31,32)
(33,34)(35,36)(37,38)(39,40)(41,42)(43,44)(45,46)(47,48)(49,50)(51,52)
(53,54)(55,56)(57,58)(59,60), (1,3,5,7,9)(2,4,6,8,10)(11,13,15,17,19)
(12,14,16,18,20)(21,23,25,27,29)(22,24,26,28,30)(31,33,35,37,39)
(32,34,36,38,40)(41,43,45,47,49)(42,44,46,48,50)(51,53,55,57,59)
(52,54,56,58,60), (1,11,21)(2,12,22)(3,13,23)(4,14,24)(5,15,25)
(6,16,26)(7,17,27)(8,18,28)(9,19,29)(10,20,30)(31,41,51)(32,42,52)
(33,43,53)(34,44,54)(35,45,55)(36,46,56)(37,47,57)(38,48,58)(39,49,59)
(40,50,60), (1,31,2,32)(3,33,4,34)(5,35,6,36)(7,37,8,38)(9,39,10,40)
(11,41,12,42)(13,43,14,44)(15,45,16,46)(17,47,18,48)(19,49,20,50)
(21,51,22,52)(23,53,24,54)(25,55,26,56)(27,57,28,58)(29,59,30,60)]

Cheers,
Simon

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to