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

If I try

M = CombinatorialFreeModule(QQ,NonNegativeIntegers())

a = M.monomial(3)

then 2*a seems to work fine.

Can anyone tell me what I am doing wrong and/or explain this?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to