Updates:
        Summary: (x+I*x)/(1+I).as_real_imag() doesn't give re(x), im(x)

Comment #4 on issue 2067 by smichr: (x+I*x)/(1+I).as_real_imag() doesn't give re(x), im(x)
http://code.google.com/p/sympy/issues/detail?id=2067

No, I'm saying that a way to fix the complex expansion is to do the same sort of thing as in radsimp. radsimp removes radicals from the denominator; complex expansion could remove the imaginary term from the denominator.

However, I ran the above test on the wrong branch. In master, the expansion of (x+I*x)/(1+I) gives I*im(x) + re(x). So if you aren't going to do expansion in a method like as_real_imag() then this is a moot issue and this can be marked as invalid or wontfix.

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

Reply via email to