The routines for this sort of application are:
The interpolating function is a piecewise polynomial represented as a tensor product of one-dimensional B-splines.
E02DAF calculates a 2-D bi-cubic spline interpolating surface for points from a regular grid. The routines E02DEF/E02DFF may then be used to compute values of the spline at the required location. This approach has has been replaced by using the routine pair PDA_DB2INK and PDA_DB2VAL. No significant change in program performance was found.
E02SAF provides a 2-D surface fit for data on an
irregular spaced grid. The method employed is that of Renka and
Cline where the grid is used to construct a set of suitably
weighed equiangular triangles that (with appropriate weighting)
describe the surface. The interpolated value of the gridded data
at any point within the grid is extracted by E02SBF. This pair of
routines has been replaced using PDA_IDBVIP with no significant change
in program performance. During incomplete trials the routine PDA_IDSFFT
also appeared to give sensible results.
PDA [1ex