[sage-support] Re: how to compute group extensions?

2013-01-14 Thread Dima Pasechnik
On 2013-01-14, Pierre Guillot wrote: > partially answering my own question: for the "lame but easy method", > one can do the following. Having a putative group H, try: > > for x in [g for g in G.Centre().Elements() if g.Order() == 2]: > Q= G.FactorGroupNC( G.Subgroup([ x ]) ) # no idea wh

Re: [sage-support] Re: how to compute group extensions?

2013-01-14 Thread Pierre Guillot
sorry G should be H throughout, in my last post. 2013/1/14 Pierre Guillot : > partially answering my own question: for the "lame but easy method", > one can do the following. Having a putative group H, try: > > for x in [g for g in G.Centre().Elements() if g.Order() == 2]: > Q= G.FactorGroupNC

Re: [sage-support] Re: how to compute group extensions?

2013-01-14 Thread Pierre Guillot
partially answering my own question: for the "lame but easy method", one can do the following. Having a putative group H, try: for x in [g for g in G.Centre().Elements() if g.Order() == 2]: Q= G.FactorGroupNC( G.Subgroup([ x ]) ) # no idea why NC if Q.IdGroup() == what you want

[sage-support] Re: how to compute group extensions?

2013-01-14 Thread Pierre
Thanks, I thought about this, but I'm not sure how to pick central elements of order 2 in a group, or more precisely in a group that is given by gap("SmallGroup(n,i)"). I can try C= G.centre() and then get C.generators() but i'm not sure if I can assume anything about these generators (I doubt

[sage-support] Re: how to compute group extensions?

2013-01-14 Thread Volker Braun
Lame but easy method: Go though all groups with 2*G.Size() elements and pick out the ones you want. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this gro