Skip to content

Integration over a subdomain of a Tabulated1D#42

Open
HunterBelanger wants to merge 2 commits intopaulromano:mainfrom
HunterBelanger:feature/tabulated_integration
Open

Integration over a subdomain of a Tabulated1D#42
HunterBelanger wants to merge 2 commits intopaulromano:mainfrom
HunterBelanger:feature/tabulated_integration

Conversation

@HunterBelanger
Copy link
Copy Markdown

These changes add the functionality to perform a definite integral over a sub-range of a Tabulated1D function. As part of this work, I also added some static method to replace the old interpolation/integration logic, so that they could be more easily reused in different use cases.

There was already a Tabulated1D.integral method, but it returned a tabulation of the cumulative integral at all points, but this does not allow one to reconstruct the true curvature of the integral between tabulated points according to the interpolation rule. This new method facilitates this more easily.

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.

1 participant