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

Should report error for CubicSplines when dim>4 #37

Closed
YuuuXie opened this issue Jan 17, 2019 · 1 comment
Closed

Should report error for CubicSplines when dim>4 #37

YuuuXie opened this issue Jan 17, 2019 · 1 comment

Comments

@YuuuXie
Copy link

YuuuXie commented Jan 17, 2019

I am using this package to do a 6-D interpolation using CubicSplines, but it didn't tell me that the interpolation for n-D (n>4) is not supported. So I could get a spline function which does not work normally (but can still output numbers without reporting error).

Then I switched to multilinear and it reported that I can't do interpolation higher than 5 dimensions. Thus I got to know where's the problem.

I think you need to add this error report. BTW, I looked at the source code. It seems cumbersome to write functions for each dimension. Do you have any approach to unify it, so that it can work for any dimensions?

(Also, I really need the 6-D cubic interpolation, if you can add it I will appreciate it very much!)

@albop
Copy link
Member

albop commented Jan 30, 2019

Hey @YuuuuXie : you comment is quite timely. Over the last few months, some functions were rewritten in order to generate the code just in time. There is a new multilinear interpolation routine which works with d>4. This is also true for cubic evaluation, but not yet for cubic filtering. I'm opening a special issue for that.

@albop albop closed this as completed May 3, 2020
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