Alexandria
2.27.0
SDC-CH common library for the Euclid project
|
Returns a NAryFunction<N> which performs a multidimensional interpolation
N | Dimensionality |
grid | Array containing the knots for each grid dimension. Note that the order must follow the same as the axes! the first coordinates corresponds to the axis 0, the second coordinates to the axis 1, and so on. |
values | Values at each grid point. Its shape must match the grid coordinates |
type | Interpolation type. Note that for N >= 2, only linear is supported right now |
extrapolate | If true, the values for points outside the grid will be extrapolated. If false, they will be 0. |
For a grid of 3 dimensions, and 3 points on each dimension, grid
must point to three vectors of size 3. The shape of values must be (3, 3, 3)