[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-21 Thread John H Palmieri
Hi Simon, Thanks for your comments, but I don't think they work for me. See below. On May 19, 3:50 pm, Simon King wrote: > Hi John! > > On 19 Mai, 23:25, John Palmieri wrote: > > > Suppose I want to define a new algebra in Sage. What should I do? > > >  - I have followed the nice coercion docs

[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-21 Thread John H Palmieri
On May 19, 3:55 pm, "Nicolas M. Thiery" wrote: >         Hi John! > > On Wed, May 19, 2010 at 03:40:44PM -0700, John H Palmieri wrote: > > On May 19, 3:02 pm, "Nicolas M. Thiery" > > wrote: > > > On Wed, May 19, 2010 at 02:25:22PM -0700, John Palmieri wrote: > > > >  - Should I do anything with t

[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-19 Thread Simon King
Hi John! On 19 Mai, 23:25, John Palmieri wrote: > Suppose I want to define a new algebra in Sage. What should I do? > >  - I have followed the nice coercion docs in the reference manual, and > in particular, I've set up _add_, _mul_, etc.; and also > _coerce_map_from_ and _element_constructor_. >

[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-19 Thread John H Palmieri
On May 19, 3:02 pm, "Nicolas M. Thiery" wrote: > On Wed, May 19, 2010 at 02:25:22PM -0700, John Palmieri wrote: > >  - Should I do anything with the new categories framework?  I've > > defined a "category" method for the algebra, but should I do anything > > else? > > >  - I'm working on a differe