Comment #5 on issue 2607 by asmeurer: as_numer_denom() is too slow
http://code.google.com/p/sympy/issues/detail?id=2607

It can happen.  Here's a trivial example:

In [13]: 2*(x + y)*z*(S(1)/2)
Out[13]:
z⋅(2⋅x + 2⋅y)
─────────────
      2

I don't know if it can also happen besides the automatic distribution. I'm afraid of something along the lines of exponents combining and then not un-combining because of assumptions problems. Are my fears unfounded?

Another problem is non-commutative symbols. In that case, things won't cancel. So for that, we will need an algorithm that doesn't rely on dividing out the terms.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to