When symbols are non-commutative they will always appear with negative exponent:

>>> var('A B', commutative=False)
>>> 1/A/B
A**(-1)*B**(-1)

Beyond this, I'm not sure of an option other than symbol-trickery (or
writing your won printer):

>>> a=symbols('(-1)')
>>> y**a
y**(-1)

.c

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to