[sage-support] Re: Subgroup lattice, prettyprinting

2012-10-03 Thread Jori Mantysalo
On Mon, 1 Oct 2012, Jori Mantysalo wrote: I wanted to get lattice of transitive subgroups. Answering to myself: G=[s for s in SymmetricGroup(5).conjugacy_classes_subgroups() if s.is_transitive()] print join([ 'G'+str(i)+: +join([ 'G'+str(j) for j in range(len(G)) if

[sage-support] Re: subgroup lattice

2010-03-01 Thread Simon King
Hi David! On 1 Mrz., 20:08, David Joyner wdjoy...@gmail.com wrote: On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst dcer...@plymouth.edu wrote: Is there a way to obtain a subgroup lattice for finite groups?  I defined a finite group G and did G.? tab but didn't see anything that would do this.

Re: [sage-support] Re: subgroup lattice

2010-03-01 Thread David Joyner
On Mon, Mar 1, 2010 at 6:18 PM, Simon King simon.k...@nuigalway.ie wrote: Hi David! On 1 Mrz., 20:08, David Joyner wdjoy...@gmail.com wrote: On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst dcer...@plymouth.edu wrote: Is there a way to obtain a subgroup lattice for finite groups?  I defined a

[sage-support] Re: subgroup lattice

2010-03-01 Thread D.C. Ernst
One way: sage: G = SymmetricGroup(3) sage: GG = gap(G) I'm guessing that GG doesn't mean anything special, but is just a name similar to G, and gap(G) is transforming G into a gap object. I'm not exactly clear when this sort of thing needs to be done, but I guess I'll learn over time.

[sage-support] Re: subgroup lattice

2010-03-01 Thread D.C. Ernst
On Mar 1, 6:18 pm, Simon King simon.k...@nuigalway.ie wrote: Hi David! On 1 Mrz., 20:08, David Joyner wdjoy...@gmail.com wrote: On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst dcer...@plymouth.edu wrote: Is there a way to obtain a subgroup lattice for finite groups?  I defined a finite