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

Cubic Spline Struct #7

Merged
merged 1 commit into from Oct 5, 2019

Conversation

@schrieveslaach
Copy link
Contributor

commented Oct 3, 2019

Add a struct that holds the vector of polynomials of a natural cubic spline, providing additionally an eval function that uses binary search to find the correct polynomial for a given x.

Additionally, the spline struct can be extended by new x and y values.

src/numerical/spline.rs Outdated Show resolved Hide resolved
src/numerical/spline.rs Outdated Show resolved Hide resolved
@schrieveslaach schrieveslaach force-pushed the schrieveslaach:feature/cubic-spline-struct branch from 40fe2aa to ec89db6 Oct 3, 2019
@Axect Axect added the enhancement label Oct 4, 2019
@schrieveslaach schrieveslaach force-pushed the schrieveslaach:feature/cubic-spline-struct branch from ec89db6 to aeb4fe9 Oct 5, 2019
Add a struct that holds the vector of polynomials of a natural cubic spline,
providing additionally an eval function that uses binary search to find the
correct polynomial for a given x.

Additionally, the spline struct can be extended by new x and y values.
@schrieveslaach schrieveslaach force-pushed the schrieveslaach:feature/cubic-spline-struct branch from aeb4fe9 to 6d7f686 Oct 5, 2019
@schrieveslaach

This comment has been minimized.

Copy link
Contributor Author

commented Oct 5, 2019

@Axect, I've updated this PR with the new function and method names. I also added From and Into implementations.

@Axect

This comment has been minimized.

Copy link
Owner

commented Oct 5, 2019

Great! I'll merge it now.

@Axect Axect closed this Oct 5, 2019
@Axect Axect reopened this Oct 5, 2019
@Axect Axect merged commit c0a2afd into Axect:master Oct 5, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@schrieveslaach schrieveslaach deleted the schrieveslaach:feature/cubic-spline-struct branch Oct 7, 2019
@schrieveslaach

This comment has been minimized.

Copy link
Contributor Author

commented Oct 7, 2019

Nice. 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.