-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
quadrature routines #1235
Comments
Do you have any opinions on the methods here: https://github.com/JeffBezanson/numal/blob/master/CHAPTER4/qadrat.c ? I could port them to julia easily. |
Hi Jeff, Sorry, I cannot tell enough about these routines just by looking at the code. Could you tell me what they are? E.g., I do like MATLAB's quad (adaptive Simpson by @Article{GanGau00a, and quadgk (adaptive Gauss-Konrod by @Article{Sha08a, Fred On Aug 30, 2012, at 3:20 AM, Jeff Bezanson notifications@github.com wrote:
|
The Cubature package (see preceding PR) should help fill this gap, although it probably can't go into Julia's standard library due to its GPL provenance. Also, it would be nice to have a pure-Julia quadrature routine, at least in 1d, for a variety of other reasons, e.g. to handle arbitrary real types and vector fields. It would be pretty easy for me to implement an adaptive Gauss-Kronrod 1d quadrature scheme in pure Julia (especially given a priority-queue data structure, #2438), if there is interest. |
+1 on this request. quad / romb / trap can be very useful for 1d use. I also agree with @stevengj: having an adaptive GK scheme in pure Julia would be great. Ideally, I'd love to step up to help -- but I have a solid negative balance in free time, so that's unlikely to happen soon. But I would use them if they existed! |
It would be nice for Julia to have the quadrature routines such as MATLAB's quad or quadgk
The text was updated successfully, but these errors were encountered: