Some functions
Linear interpolation
Mainly five functions perform linear interpolations:
LinearInterpolationRegular
,
LinearInterpolationOneGeneral
,
LinearInterpolationUniformToGeneral
,
LinearInterpolationRegularToGeneral
and
LinearInterpolationDimension
. The first one interpolates data
associated with regular grids. The second one can handle data defined on
regular grids except one grid that may be a general grid. Both data to be
interpolated and output data may be associated with a general grid, but the
two general grids must be associated with the same dimension. The third and
fourth functions interpolate data from uniform grids (a uniform grid is a
regular grid for which the distance between two contiguous vertices is
constant) to general grids. The last one interpolates only along a given
dimension.
One should be aware that those functions are not efficient in term
of computational cost. However, it is posible to overload those
functions for given Data
instances (e.g. four dimensional
arrays) and therefore to have those functions be as efficient as
possible.