Hi everybody,

I'm trying to construct an algebra from a monoid. For exemple :
sage: M = FreeMonoid(3,['a','b','c'])
sage: M
Free monoid on 3 generators (a, b, c)
sage: M.algebra(QQ)
Free module generated by Free monoid on 3 generators (a, b, c) over 
Rational Field

The problem is that I obtain a free module, and not an algebra. How can 
I handle with it ? With groups, the construction is working :
sage: G = SymmetricGroup(4)
sage: G
Symmetric group of order 4! as a permutation group
sage: G.algebra(QQ)
Group algebra of Symmetric group of order 4! as a permutation group over 
Rational Field

Shouldn't it be similar with monoids ? I tried to see the point in the 
source code without any success.

Thanks for answers !

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


Reply via email to