The speed of integration of polynomials improved (10x).
commit6f946df5cf3ec724ded388da60d9ad502caed2ef
authorOndrej Certik <ondrej@certik.cz>
Thu, 6 Dec 2007 00:27:39 +0000 (6 01:27 +0100)
committerOndrej Certik <ondrej@certik.cz>
Thu, 6 Dec 2007 00:27:39 +0000 (6 01:27 +0100)
tree4ddd876412a4386bf526021a8658dda5b13f9cbd
parent929cdd3dd27db657dc2525e56f0f20a0d4c026ca
The speed of integration of polynomials improved (10x).

This is done by trying to convert the integrand to a Polynomial and if we
succeed, call Polynomail.integrate(), which is very fast.

The code could still be sped up by some tricks, but this patch is a huge step
forward.
sympy/integrals/integrals.py
sympy/integrals/tests/test_integrals.py
sympy/integrals/tests/test_risch.py
sympy/polynomials/base.py
sympy/polynomials/tests/test_polynomials.py