Hi guys, I am wondering how to efficiently do the following two things in sage 1. add a generator h to a existing group G to creat a new group e.g. h = (3,4) G = PermutationGroup([(1,2),(1,3)]) and new group N have generator [(1,2),(1,3),(3,4)] I can do this by using G.gens() and add (3,4) to the list and call PermutationGroup(), but it looks awkward, is there a more efficient way?
- create a new group from generators of two existing group
G = PermutationGroup([(1,2),(1,3)])
H = PermutationGroup([(3,4)]) How to get new group N have generator [(1,2),(1,3),(3,4)] Currently I can do this by : N = PermutationGroup(G.gens()+H.gens())
Thanks, Kevin