Shouldn't it rather be when combine='exp'? Base combination is when the exponents are the same but the bases are different, and exponent combination is when the bases are the same but the exponents are different. Here the bases are the same (x*sqrt(x*y)) and the exponents are different (1 and 1/2).
Aaron Meurer On Fri, Aug 12, 2011 at 8:12 PM, smichr <[email protected]> wrote: > I have a routine that will better flatten Muls containing Rational > powers: > > >>> a > (x*(x*y)**(1/2))**(1/2) > >>> a.base*a > x*(x*y)**(1/2)*(x*(x*y)**(1/2))**(1/2) > >>> powsimp(_) > (x*(x*y)**(1/2))**(3/2) > > Should this happen for all powsimp options or only if base combination > is desired? > > -- > 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. > > -- 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.
