-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Add giac interface to integrate #22891
Comments
comment:1
(minor, documentation): in |
comment:3
setting to review; i've added the new optional keyword New commits:
|
Commit: |
comment:4
Love this. Don't see any obvious problems with the commit (I haven't tested it, though, just reading through). On a related note, can you test out the various tickets at https://trac.sagemath.org/wiki/symbolics#Integrationtickets with this? In particular the |
comment:5
we may want to ensure a symbolic integral wrapper, for instance with (cf. #22138):
but in other cases it already returns unevaluted:
|
comment:6
Replying to @kcrisman:
:) here are some gist of hard integrals |
Reviewer: Travis Scrimshaw |
comment:7
I think this is something that we should get into the next Sage, but we should discuss on another ticket, and possibly sage-devel, switching the default integrator. |
comment:8
Replying to @tscrim:
thanks for the review! yes, IMO some action should be taken (for example to double check with numerical integrator and show a warning if nonsense is detected / dispatch another integrator for known issues eg. abs-trig or some special functions). i am not a big fan of 'blatantly wrong' answers, because from the user's point of view, it makes you loose a lot of confidence on the software. |
comment:9
Oh yeah, we would want some super testing if we switched the default. But the problem is that currently Maxima's integration for anything involving branches or abs is weak, at least the way we interface with it. As a first approximation, perhaps we could have a system where we removed the |
Changed branch from u/mforets/t/mforets/giac_integrator to |
Provide a
giac_integrator
function, which relies on the external (but standard) Giac package.A test could be:
This test is chosen because (at the time or writing) Maxima gives a wrong result (
0
), SymPy gives i don't know (unevaluated), and Fricas (optional package) gives'failed'
.Component: calculus
Keywords: giac, integrate, symbolics
Author: Marcelo Forets
Branch/Commit:
8e1af6d
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/22891
The text was updated successfully, but these errors were encountered: