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

That's good to know. Two questions about the PR though:

1) I noticed that inline binary operations like addition, multiplication, and exponentiation don't preserve the value of "is_complex":

In [1]: from sympy import *

In [2]: beta = symbols('beta', complex=True)

In [3]: beta.is_complex
Out[3]: True

In [4]: (beta + beta).is_complex

In [5]:

2) Is it conceivable that a function with only complex arguments might return a matrix (I'm relatively new to SymPy, but I'm thinking of something like a constructor for a diagonal matrix, although that is equal to its transpose as well), or that a function with non-complex arguments might return a complex value (such as a trace function)? Is there a comprehensive and logical way we can handle all these cases?

--
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