Is there a way to represent something like M(x) where x is a Symbol
and M(x) is something matrix-like.

Maybe a MatrixSymbol with a second argument (i.e. M(x) is
MatrixSymbol('M', 'x'))?

Or something mimicking the Function classes in the core. But I hate
all the magic with the metaclasses. It seems excessively complicated.

I need this in order to work out some algorithms for simplification of
Dirac algebra (gamma matrices) expressions. I was thinking about using
the new rewrite rules module.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en.

Reply via email to