[sage-devel] Re: Abelian groups are driving me crazy

2008-08-29 Thread John Cremona
2008/8/29 David Joyner <[EMAIL PROTECTED]>: > > I agree AbelianGroups needs rewriting and has odd behavior in > some cases. > > Incidently, here is what GAP does: > > gap> A := AbelianGroup([1,2,3]); > > gap> GeneratorsOfGroup(A); > [ of ..., f1, f2 ] > gap> A := AbelianGroup([2,1,3]); > > gap>

[sage-devel] Re: Abelian groups are driving me crazy

2008-08-29 Thread David Joyner
I agree AbelianGroups needs rewriting and has odd behavior in some cases. Incidently, here is what GAP does: gap> A := AbelianGroup([1,2,3]); gap> GeneratorsOfGroup(A); [ of ..., f1, f2 ] gap> A := AbelianGroup([2,1,3]); gap> GeneratorsOfGroup(A); [ f1, of ..., f2 ] This is kind of mid-way

[sage-devel] Re: abelian groups

2007-11-22 Thread William Stein
On Nov 22, 2007 7:31 AM, David Harvey <[EMAIL PROTECTED]> wrote: > > You should make an AbstractAbelianGroup class that derives from > > ParentWithBase. > > Hmmm but wouldn't it make more sense for AbelianGroup (i.e. the > currently implemented one) to derive from AbstractAbelianGroup? Yes, i

[sage-devel] Re: abelian groups

2007-11-22 Thread David Harvey
On Nov 22, 2007, at 10:25 AM, William Stein wrote: > > On Nov 22, 2007 6:53 AM, David Joyner <[EMAIL PROTECTED]> wrote: > \> On Nov 22, 2007 9:35 AM, David Harvey > <[EMAIL PROTECTED]> wrote: >>> >>> Hi all, >>> >>> I'd like to discuss this abelian group thing a bit further, from the >>> point

[sage-devel] Re: abelian groups

2007-11-22 Thread William Stein
On Nov 22, 2007 6:53 AM, David Joyner <[EMAIL PROTECTED]> wrote: \> On Nov 22, 2007 9:35 AM, David Harvey <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I'd like to discuss this abelian group thing a bit further, from the > > point of view of design issues rather than algorithms. > > > > Curre

[sage-devel] Re: abelian groups

2007-11-22 Thread David Joyner
On Nov 22, 2007 9:35 AM, David Harvey <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'd like to discuss this abelian group thing a bit further, from the > point of view of design issues rather than algorithms. > > Currently in SAGE the situation appears to be the following. An > AbelianGroup represen