``_rmul_`` and ``_lmul_`` (it's the module element (i.e., ``self``) on the 
right or left respectively), and (somewhat unfortunately) I think you need 
to also inherit from ModuleElement (or copy the ``__mul__`` method).

>
> Or is it preferred to use ``_acted_upon_`` (see in 
> CombinatorialFreeModule)?
>

Thanks Travis. This is what I tried before I asked yesterday but I couldn't 
get it to work. The issue is that there is no multiplication defined on 
elements in a representation. In any case I have something working using 
sage.categories.action.Action.

Andrew

-- 
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