Skip to content

Add additional methods and tests for numerical methods. #1031

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

Open
wants to merge 3 commits into
base: PG-2.20
Choose a base branch
from

Conversation

pstaabp
Copy link
Member

@pstaabp pstaabp commented Mar 6, 2024

This adds methods for newtonDividedDifference, Legendre Polynomials, Newton-Cotes quadrature, Gaussian Quadrature, numerical differential equation solvers, and rootfinding techniques.

There also adds tests for all these methods. This builds on #1022.

@Alex-Jordan
Copy link
Contributor

Can you remind me how to execute the tests? Then I'll do that to confirm it all works on my setup. Since these are all new methods (some of which I am not familiar with mathematically) I would then just approve without further inspection. Well, I might load the POD and read it and look for suggestions, but I am not sure I would review the actual method code.

@drgrice1
Copy link
Member

Execute prove -r t from the PG root directory to run all of the unit tests in the t directory. You can add -v if you want more verbosity.

@drgrice1
Copy link
Member

If you want to run only the tests in this pull request you can also do prove t/macros/numerical_methods.t or prove -v t/macros/numerical_methods.t.

pstaabp and others added 3 commits May 28, 2025 06:31
This adds methods for newtonDividedDifference, Legendre Polynomials, Newton-Cotes quadrature, Gaussian Quadrature, numerical differential equation solvers, and rootfinding techniques.

u
@pstaabp pstaabp force-pushed the add-numeric-methods branch from f64e282 to c179bc1 Compare May 28, 2025 11:14
@pstaabp pstaabp changed the base branch from develop to PG-2.20 May 28, 2025 11:15
@pstaabp
Copy link
Member Author

pstaabp commented May 28, 2025

Rebased on PG-2.20, merged a PR from @Alex-Jordan and more cleanup.

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

Successfully merging this pull request may close these issues.

3 participants