-
-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance the integration by using also giac and sympy #27958
Comments
Branch: u/chapoton/27958 |
New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed keywords from none to integration |
comment:5
sometimes sympy takes ages, so that's why it comes last:
|
comment:6
some failing doctests, work in progress |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
This seems to work well enough. Waiting for the patchbots' green lights. |
comment:9
Having more integration algorithms tried by default is a very good move. However, doctests should get more analyzed: This part of the patch looks weird:
Even if Sage is not able to perform the nice simplifications, this looks pretty correct (though i am not analyst):
That function looks like the zero function ? |
Reviewer: Thierry Monteil |
comment:10
Actually, mathematica gives a very similar result : https://www.wolframalpha.com/input/?i=integrate+log(x)*exp(-x%5E2) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
thx, I have modified this part of the doc |
comment:13
Also, in
Well, the integral is divergent, as the function behaves like |
comment:14
Some other remarks:
|
comment:15
Let me CC @zimmermann6 since some doctests in the Sage book are modified, so that perhaps the example of |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Thx, I have made the suggested changes. Let us keep the possibility of also adding the fricas integrator for another ticket. |
comment:40
Replying to @mezzarobba:
since it was decided in ticket #27958, comment [comment:58] (while the book was already in print by SIAM), not to accept doctests that do not pass in Python3 (while the book was publicly available since a long time, and nobody asked before for the doctests to be compatible with Python 3), the doctests in Sage do no longer correspond to those in the book, and I have decided not to spend any more time on this. In summary: do whatever you want, those doctests are no more relevant for the french book. |
comment:41
Replying to @zimmermann6:
There is no comment number 58 on ticket #27958! |
comment:42
sorry that was ticket #23572 |
comment:43
Replying to @zimmermann6:
I did not know about what happend with this ticket. It is indeed unfortunate... the switch to Python 3 is a long and painful route. But the matter under discussion here is of different nature. The single test under discussion is
There is a positive change of behavior since Sage will now symbolically integrate Isn't there a document that explains what has changed between the available version of the book and the current Sage version? I think this would be very useful. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:45
Here is a proposal that keeps the spirit of the modified books' doctests. |
comment:47
Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically). |
comment:48
Regarding builtins, instead of testing that a string is produced:
You could (optionally) test that fricas actually handles the function:
as you did for giac. |
comment:49
Well, I prefer the first test, because Fricas is optional. edit I could change that if you insist, but this is really not the core of the matter. |
This comment has been minimized.
This comment has been minimized.
comment:51
The thing is that this test does not test anything, you could change with any string not representing a Anyway, i see that there are other similar |
This comment has been minimized.
This comment has been minimized.
Changed branch from u/chapoton/27958 to |
comment:53
See #28964 for a possible follow up. |
Changed commit from |
CC: @mwageringel @sagetrac-jakobkroeker @kcrisman @pjbruin @rwst @seblabbe @slel @sagetrac-tmonteil @videlec @vinklein @zimmermann6 @mforets @mezzarobba
Component: symbolics
Keywords: integration
Author: Frédéric Chapoton
Branch:
d4371e3
Reviewer: Thierry Monteil
Issue created by migration from https://trac.sagemath.org/ticket/27958
The text was updated successfully, but these errors were encountered: