Comment #3 on issue 2040 by smichr: Better way to make a rational function out of an expression
http://code.google.com/p/sympy/issues/detail?id=2040

So perhaps you can just factor the args of all rational powers:

eq.subs(dict([(a,factor(a.base)**a.exp) for a in eq.atoms(Pow) if a.exp.q != 1]))

Then denest. I think powdenest will work since it will move all integers (including integers of fractions) together. So (x**(2/3)**3 -> (x**(1/3))**6

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