Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 2629 by [email protected]: Canonical powers
http://code.google.com/p/sympy/issues/detail?id=2629
Perhaps Mul.flatten should be smart enough to join powers of Mul bases so
the following expressions become canonical:
>>> a
(x*y**(1/2))**(1/2)
>>> a**9
(x*y**(1/2))**(9/2)
>>> a*a**8
x**4*y**2*(x*y**(1/2))**(1/2)
In the prev, the a**8 creates an autoexpanding base with integer exponent
and the `x*sqrt(y)` base is no longer found to combine with.
If not in Mul.flatten, then perhaps powsimp should be able to simplify this.
--
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.