[sage-combinat-devel] CombinatorialFreeModule (again)

2010-09-02 Thread Bruce
I am trying to construct the fee module on the set of instances of a class G. I start with M = CombinatorialFreeModule(QQ,G) If f,g are instances of G I then continue with a = M.monomial(f) b = M.monomial(g) and I can then form a+a , a+b etc. and a - a is indeed 0. However if I try 2*a I get

Re: [sage-combinat-devel] CombinatorialFreeModule (again)

2010-09-02 Thread Florent Hivert
Hi Bruce, On Thu, Sep 02, 2010 at 03:33:21AM -0700, Bruce wrote: I am trying to construct the fee module on the set of instances of a class G. I start with M = CombinatorialFreeModule(QQ,G) If f,g are instances of G I then continue with a = M.monomial(f) b = M.monomial(g)