Skip to content
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 for pre-sampled data #170

Closed
IlianPihlajamaa opened this issue Aug 28, 2023 · 3 comments
Closed

Quadrature routines for pre-sampled data #170

IlianPihlajamaa opened this issue Aug 28, 2023 · 3 comments

Comments

@IlianPihlajamaa
Copy link
Contributor

Hello,

thanks for a great package!

I don't know if this is the right place to ask this question, but:

Are there plans for SciML to offer quadrature routines for pre-sampled data (where one either does not have the luxury of choosing the grid points at all, or at least not dynamically/adaptively? Right now this functionality is scattered throughout the Julia ecosystem (see eg NumericalIntegration.jl, Romberg.jl, Trapz.jl), even though I think this is a fairly common use case. For reference, there is an excellent python package QuadPy, that inspiration might be drawn from, even though it does not offer functionality for arbitrary grids. SciPy of course does offer that.

I am asking this, because right now, I am typically rolling my own (eg irregular Simpson's) rules, and I thought that if many people do the same, it might be a waste of effort.

@ChrisRackauckas
Copy link
Member

I think it would be great to add these kinds of methods, even non-adaptive, to here. They are widely used methods to approximate integrals, so there is no reason to leave them out.

@IlianPihlajamaa
Copy link
Contributor Author

Okay, I might try to do that (for some simple rules like trapezoidal/Simpson's). No promises when though. I may also need some guidance adhering to the code structure and API that this package, together with SciML, dictates.

Would you like me to close this issue in the meantime?

@ChrisRackauckas
Copy link
Member

Let's leave this open until they are implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants