Hi there,

Is there a way to convince sage that the product of two mutable matrices are
immutable ?

I need to consider matrix over a finite ring as a monoid and to take the
monoid algebra (like a group algebra) of it. It works when defined but I can't
compute any product in It because group algebra are stored using
dict(element:coeff) and the product of the monoid returns unhashable matrices.

sage: M = MatrixSpace(QQ, 3)
sage: A = M.algebra(QQ, category=Monoids())
sage: A.one()^2
[...]
TypeError: mutable matrices are unhashable

Cheers,

Florent

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

Reply via email to