p = Symbol('p', real=True)
sqrt(exp(I*pi))
exp(I*pi/2)
Did you maybe mean slomething different (you're not using p). But
anyway, I see that you're referring to the automatic evaluation.
Ups, yes. This way it decidedly does *not* work, thing p instead of pi
everywhere.
--
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.