Is it possible to perform 2D interpolation in Julia where one of the coordinates is irregular? Take the following example, where x
is irregular, but y
is regular:
x = [0.5 2 3 4.;
0.6 1 3 4.;
0.7 2 3 5.;
0.8 2 3 4.;]
y = [1;
2;
3;
4;]
z = [1. 2. 1. 2.;
1. 2. 1. 2.;
1. 2. 3. 2.;
1. 2. 2. 2.;]
I have tried the following with the Dierckx-package, but it results in an error:
Spline2D(x, y, z)
Similarly, it seems like the Interpolations-package doesn't handle irregular grids yet.