Re: [sage-devel] Re: Implementation of conjugacy classes

2010-01-31 Thread Nicolas M. Thiery
Dear Javier, On Sat, Jan 09, 2010 at 02:01:07PM -0800, javier wrote: > The implementation of the conjugacy classes is now ticket #7886: > http://sagetrac.org/sage_trac/ticket/7886 I went through your patch, and am definitely +1 on the overall design and user interface! Here are some sugge

Re: [sage-devel] Re: Implementation of conjugacy classes

2010-01-10 Thread John Cremona
This is the way objects from the pari library are converted to Sage. pari has an (imperfect) system of attributing types to objects, and the conversion code branches on the value of its pari type, calling suitable conversion code in each case. So this seems like a sensible way to go for GAP conver

Re: [sage-devel] Re: Implementation of conjugacy classes

2010-01-10 Thread David Joyner
On Sun, Jan 10, 2010 at 6:04 AM, javier wrote: > This is now Ticket #7890: > http://trac.sagemath.org/sage_trac/ticket/7890 > > Thanks for volunteering to work on this, Dmitri! It would be awesome > to be able to access all that gap functions from sage. > Skimming a bit at the conversion code, it

Re: [sage-devel] Re: Implementation of conjugacy classes

2010-01-09 Thread Alex Ghitza
On Sat, 9 Jan 2010 21:35:31 -0800 (PST), Dima Pasechnik wrote: > > from what I gather, it asks first of all for a consistent way to > handle GAP's field elements. A field can be finite, as here in this > thread, or, say, cyclotomic, as it would happen, e.g., when dealing > with character tables