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

Monotonic cubic interpolation extension #3

Open
csenszike opened this issue May 17, 2018 · 1 comment
Open

Monotonic cubic interpolation extension #3

csenszike opened this issue May 17, 2018 · 1 comment

Comments

@csenszike
Copy link

Hi,

Thank you for your code, it's working perfectly.
In my project I have to interpolate monotonic key points and simple (natural) cubic interpolation sometimes gives non monotonic solution.
I've found the algorithm on Wikipedia with JS example code.
Would it be possible to improve the library with this option (:monotonic=>:boolean)?

Thanks in advance!

@tallakt
Copy link
Owner

tallakt commented May 18, 2018

Id be happy for a pull request, but right now I dont have much spare time to spend on this...

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