On Sat, Mar 29, 2014 at 08:41:10AM +0100, Nicolas M. Thiery wrote:
> When you do G.algebra(K), it will be put by default in the category
> G.category().Algebras(K). So, if I understand your use case properly
> (it's about adding generic methods for weyl group algebras, right?)
> all you have to do is to create a nested class Algebras in WeylGroups:
> 
>  class WeylGroups(Category):
>      ...
>      class Algebras(AlgebrasCategory):
>          class ParentMethods:
>              ... your methods for weyl group algebras
> 
>        class ElementMethods:
>              ... your methods for weyl group element algebras

Which might be best summarized by a quick example ...

Generic methods for elements of algebras of Weyl groups go in:

        WeylGroups.Algebras.ElementMethods

where by "generic", I mean code that does not depend on the specific
implementation of those.

Similarly, methods for algebras of finite Weyl groups go in:

        WeylGroups.Finite.Algebras.ParentMethods

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

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to