Comment #44 on issue 2607 by asmeurer: as_numer_denom() is too slow
http://code.google.com/p/sympy/issues/detail?id=2607
What we need is a way to keep all the flatten info and then just update
that
info as terms are removed.
Exactly. That's what issue 683 is all about, but it's going to be much
harder to apply to Mul.
The
problem right now are the 'orphans', things that changed appearance
when multiplied together, e.g. 2**x*2**x -> 4**x so when you try
divide by 2**x, that term isn't found.
I get
In [8]: 2**x*2**x
Out[8]:
2⋅x
2
even for positive x. But I see your point. This was the thing I was
worried about with the cancelation method. Another problem is something
like x**(y + 1)*x**(y + 1)/x**(y + 1).
--
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.