-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Numerical approximation of a divergent integral #14274
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Regarding the first one; basically, when we return a noun form
and call
because we do
So these are both manifestations of the same thing. So... is it user error to numerically integrate a divergent integral? I certainly don't know that we should be checking every numerical integral for divergence, particularly since Maxima apparently can't (yet) do the first one in any case! |
comment:3
Maybe the options being passed to GSL could be changed? It seems absurd that it should give a numerical answer for |
comment:4
In fact, with the code at http://www.physics.ohio-state.edu/~ntg/780/gsl_examples/qagiu_test.cpp, it returns errors for all these integrals. |
comment:5
If you present a patch, I think we'd be very interested in reviewing it. Silly to return nonsense in these cases. |
comment:10
Edit: sorry wrong ticket |
Sage is numerically approximating this integral, even though it's divergent:
It seems that if we don't allow Maxima to detect its divergence (
numerical_integral
passes it directly to GSL), GSL will also fail on simpler divergent integrals:See also this ask question:
Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/14274
The text was updated successfully, but these errors were encountered: