[sage-devel] Re: Identity permutation

2008-11-01 Thread Mike Hansen
This problem was due to the fact that conversion to GAP just wasn't implemented. I've posted a patch a http://trac.sagemath.org/sage_trac/ticket/4419 . --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe fr

[sage-devel] Re: Identity permutation

2008-11-01 Thread David Joyner
Agreed. In fact, it seems to me the proper syntax is sage: p = gap(PermutationGroupElement('(1,2,3)')) sage: q = gap(PermutationGroupElement('()')) sage: gap.Group([p, q]) Group( [ (1,2,3), () ] ) sage: gap.Group([p]) == gap.Group([p, q]) True and here it all works fine. I think Permutation (whi

[sage-devel] Re: Identity permutation

2008-11-01 Thread mabshoff
On Nov 1, 5:37 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > On the other hand, > > sage: gap.Group(["(1,2)","()"]) > Group( [ (1,2), () ] ) > sage: gap.Group(["(1,2)"]) > Group( [ (1,2) ] ) > sage: gap.Group(["(1,2)","()"]) == gap.Group(["(1,2)"]) > True > > so GAP does allow the identity as

[sage-devel] Re: Identity permutation

2008-11-01 Thread mabshoff
On Nov 1, 1:14 am, Minh Nguyen <[EMAIL PROTECTED]> wrote: > Carlo Hamalainen wrote: > > Hi, > > > I think this is a bit weird, in 3.2.alpha0. Should I make a trac ticket? > > > sage: p = gap(Permutation('(1,2,3)')) > > sage: q = gap(Permutation([()])) > > sage: gap.Group([p, q]) > > [...] > > I

[sage-devel] Re: Identity permutation

2008-11-01 Thread David Joyner
On the other hand, sage: gap.Group(["(1,2)","()"]) Group( [ (1,2), () ] ) sage: gap.Group(["(1,2)"]) Group( [ (1,2) ] ) sage: gap.Group(["(1,2)","()"]) == gap.Group(["(1,2)"]) True so GAP does allow the identity as a member of the list of generators. On Sat, Nov 1, 2008 at 4:14 AM, Minh Nguyen

[sage-devel] Re: Identity permutation

2008-11-01 Thread Minh Nguyen
Carlo Hamalainen wrote: > Hi, > > I think this is a bit weird, in 3.2.alpha0. Should I make a trac ticket? > > sage: p = gap(Permutation('(1,2,3)')) > sage: q = gap(Permutation([()])) > sage: gap.Group([p, q]) [...] I receive a similar error using 3.1.4: ---