On Fri, Mar 19, 2010 at 01:00:38PM -0700, bump wrote:
> > I hope other people respond, too.  I would suggest looking at
> >
> > <http://www.sagemath.org/doc/reference/coercion.html>
> >
> > and the code in sage/algebras/quatalg (for quaternion algebras): use
> > this as one model for how to implement a noncommutative algebra.
> 
> Another place to look is algebras/iwahori_hecke_algebra.py,
> showing how to an algebra as a subclass of CombinatorialFreeModule.

Yup. And the canonical example to look at shall be:

        sage: A = AlgebrasWithBasis(QQ).example()
        sage: A??

(suggestions, or better patches, to improve that example are welcome)

Cheers,
                                Nicolas
--
Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to