Comment #4 on issue 3991 by [email protected]: Conjugate transpose of scalar exponential treated like matrix
http://code.google.com/p/sympy/issues/detail?id=3991

1) Add and Mul should probably be able to give better results for the .is_complex assumption. transpose() still works on Add and Mul, though, because these classes explicitly redefine _eval_transpose() instead of relying on Expr._eval_transpose().

2) I think it is fair to say that Function defines scalar functions. One could imagine such a thing like a MatrixFunction: if it existed we should set .is_complex to False on such an object.

The trace function is a bit different, because if you pass it a MatrixSymbol, it returns an instance of the Trace class instead of an instance of the Function class. So it's not affected by the PR. We could probably set .is_complex to True on the Trace class, except when it represents a partial trace.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to