Use exit() or Ctrl-D (i.e. EOF) to exitexit
Integral(0, x)from sympy import *
from sympy.integrals.rubi.rubimain import rubi_integrate
x = symbols('x')
Added Rubi in Sympy to the CAS integration tests. Used Sympy 1.3.
This is an initial report, Rubi on Sympy was run on the first 12 files of Albert Rich's test suite.
The number of integrals is 1,867. This report only added Rubi in Sympy and combined earlier results for the other CAS systems since the same input files were used for all tests.
In the future will try to run the full test suite again.
The following is the % passed integrals ========================================
1. 98.82 %, Rubi 4.15.2 in Mathematica 11.3
2. 98.55 %, Mathematica 11.3
3. 93.09 %, Maple 2018.1
4. 92.61 %, Fricas 1.3.4
5. 83.29 %, XCAS/Giac 1.4.9
6. 82.22 %, Maxima 5.41 Using Lisp ECL 16.1.2
7. 78.95 %, Rubi in Sympy 1.3
8. 69.42 %, Sympy 1.1.1
So Rubi in Sympy did better than Sympy integrate. If they fix the few bugs still there, it should do much better than the above. In theory, it should give same result as Rubi itself I would think.
But it was a little slower than Sympy integrate. It had 5.4 second mean time for each integral while Sympy integrate had 2.91 seconds.
Another issue is the initial long load time to read the rules into Python.
from sympy.integrals.rubi.rubi import rubi_integrate
It takes about 15-20 minutes (depending on the PC) for the above to complete.
So each time one starts a new Python session, they have to wait this time to use the command.
This time should be reduced, otherwise some might not bother waiting this long to use it.
ps I entered a bug on Sympy tracking system for Rubi-Sympy not able to integrate x. This should get fixed by Sympy 1.4 hopefully.
|Location:||Huddersfield, West Yorkshire, UK|
|Nodes:||8 (1 / 7)|