Comment #1 on issue 1431 by smichr: ratsimp improvement http://code.google.com/p/sympy/issues/detail?id=1431
I reported in issue 1432 that there were problems when applying simplify to the above expression. I also added a comment there that I had a definition of k in place that defined k in terms of itself, e.g. k=x1/k. Without that definition, simplify gives the result shown above. But perhaps simplify could be less destructive as wished for above. So for something like the following, >>> (a*(b+c)+a*(d+c)+a*(x+y))/e-a*b/e (a*(b + c) + a*(c + d) + a*(x + y))/e - a*b/e >>> simplify(_) (a*d + a*x + a*y + 2*a*c)/e >>> (a*(b+c)+a*(d+c)+a*(x+y))/e-a*b/e this would be the result instead: --> (a*c+a*(d+c)+a*(x+y))/e /c -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
