[sympy] Re: high school factoring

2008-07-21 Thread Kirill Smelkov
On Mon, Jul 21, 2008 at 08:12:42PM +0200, Ondrej Certik wrote: Hi, when I was at high school I remember figuring out how to factor this: In [1]: 2*x*y*z + x*y**2 + x*z**2 + y*x**2 + y*z**2 + z*x**2 + z*y**2 Out[1]: 2 2 2 2 2 2 2*x*y*z + x*y + x*z

[sympy] Re: high school factoring

2008-07-21 Thread Fredrik Johansson
On Mon, Jul 21, 2008 at 8:12 PM, Ondrej Certik [EMAIL PROTECTED] wrote: Not bad. However the time varies a lot on my laptop if I repeat it in another ipython session -- from 0.7s (!) to 8s. Can anyone verify this please? You need the latest hg sympy. Why is that? I would guess because factor