Closed matthieugomez closed 9 years ago
Even faster would be to use Interpolations :smile:. Your timing is impeccable; I just pushed the new README, with benchmarks, a few minutes ago.
Interpolations already supports SubArrays (or should).
It's even better - you implemented lookup wrt some dimension. Exactly what I was looking for.
:v:
From a matrix A
I can interpolate with respect to the first dimension
However, I can't interpolate with respect to the second dimension, i.e. do something like
The only solution is to transpose A so that the order of dimensions is inverted. However, adding a support for subarray would probably be faster, no?