Comment #5 on issue 1598 by ondrej.certik: New polynomials manipulation  
module
http://code.google.com/p/sympy/issues/detail?id=1598

And for this:

In [5]: a = (x+y+sin(z))**20

In [6]: b = a.expand()

In [7]: time factor(b)
CPU times: user 3.38 s, sys: 0.00 s, total: 3.38 s
Wall time: 3.46 s
Out[8]:
                 20
(x + y + sin(z))


Sage is only 4x faster:

sage: a = (x+y+sin(z))**20
sage: b = a.expand()
sage: time factor(b)
CPU times: user 0.13 s, sys: 0.01 s, total: 0.14 s
Wall time: 0.80 s
(x + y + sin(z))^20



Could you beat it? That'd be fun. :)

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to