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

add support for analytical integration of some interpolations #100

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

pepijndevos
Copy link
Contributor

DataInterpolations already has support for computing the analytical derivative at any given point. This PR is a first step towards providing the same for integration.

I've computed the analytical integrals of the interpolation functions with an ungodly mix of Symbolics, Sympy, and copy-pasting, since Symbolics does not yet have a heuristic symbolical integration package like Sympy does, so was only used to extract the equations from the existing code.

This PR only adds integrals for a subset of the supported interpolations that seemed useful and easy to do. A future PR could extend this to more interpolations, but first I'll go back and put this functionality through its paces in CedarWaves.

@ChrisRackauckas ChrisRackauckas merged commit 4b6fad1 into SciML:master Dec 16, 2021
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

Successfully merging this pull request may close these issues.

2 participants