Updates:
        Status: Fixed
        Labels: -NeedsReview PassedReview

Comment #10 on issue 1900 by matt...@gmail.com: factor((1+2*x+x**2)**100) works too hard
http://code.google.com/p/sympy/issues/detail?id=1900

factor() has now symbolic capabilities, e.g.:

In [1]: %time factor((x**2 - 1)**1000000000)
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
Out[2]:
       1000000000        1000000000
(1 + x)          ⋅(1 - x)

In [3]: %time factor((x**2 + 1)**1000000000, gaussian=True)
CPU times: user 0.01 s, sys: 0.00 s, total: 0.01 s
Wall time: 0.02 s
Out[4]:
       1000000000        1000000000
(x + ⅈ)          ⋅(x - ⅈ)

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

Reply via email to