Hello group:
We are wondering if Sympy has a way to define a symbolic function which
takes a MatrixSymbol as an argument, just like how f(x) = x^2 works on
Sage.
We would like to have (A + B)**3 expand (assuming non-commutativity of
course) for MatrixSymbols A and B. The obvious command
expand((A + B)**3)
did not work. However, if A and B are defined using Operator('A') and
Operator('B'), it works. Surely, there must be a way to do this for
MatrixSymbols too?
Regards,
Kannappan.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/9a441208-cb5d-40b8-81cb-a5df6c3df617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.