If I have code like so:

x = sympy.Symbol('x')
y = 1 / (x + 1)**2

it evaluates to
y = (x + 1)**(-2)


is there a way to prevent that happening and have it remain as 1 / (x + 
1)**2. 

**** OR: alternatively, is there a way to retrieve 1 / (x + 1)**2 from the 
canonical form? I've looked at the docs and searched in this google group 
but haven't found relevant discussions. The reason I want to do this is for 
printing purposes

-- 
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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to