test_interp_2d


test_interp_2d, an Octave code which defines test problems for interpolation of data z(x,y) depending on a 2D argument.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

test_interp_2d is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

test_interp_2d_test

lagrange_interp_2d, an Octave code which defines and evaluates the lagrange polynomial p(x,y) which interpolates a set of data depending on a 2d argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).

padua, an Octave code which returns the points and weights for padu sets, useful for interpolation in 2d. MATLAB graphics are used to plot the points.

pwl_interp_2d, an Octave code which evaluates a piecewise linear interpolant to data defined on a regular 2d grid.

r8lib, an Octave code which contains many utility routines, using double precision real (r8) arithmetic.

rbf_interp_2d, an Octave code which defines and evaluates radial basis function (rbf) interpolants to 2d data.

shepard_interp_2d, an Octave code which defines and evaluates shepard interpolants to 2d data, which are based on inverse distance weighting.

test_interp, an Octave code which defines a number of test problems for interpolation, provided as a set of (x,y(x)) data.

test_interp_1d, an Octave code which defines test problems for interpolation of data y(x), depending on a 2d argument.

test_interp_nd, an Octave code which defines test problems for interpolation of data z(x), depending on an m-dimensional argument.

toms886, an Octave code which defines the padua points for interpolation in a 2d region, including the rectangle, triangle, and ellipse, by marco caliari, stefano de marchi, marco vianello. this is a MATLAB version of acm toms algorithm 886.

vandermonde_approx_2d, an Octave code which finds a polynomial approximant p(x,y) to data of a 2d argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the vandermonde matrix.

vandermonde_interp_2d, an Octave code which finds a polynomial interpolant to data z(x,y) of a 2d argument by setting up and solving a linear system for the polynomial coefficients, involving the vandermonde matrix.

Reference:

  1. Richard Franke,
    A Critical Comparison of Some Methods for Interpolation of Scattered Data,
    Naval Postgraduate School Technical Report,
    NPS-53-79-003, 1979.
  2. Robert Renka, Ron Brown,
    Algorithm 792: Accuracy Tests of ACM Algorithms for Interpolation of Scattered Data in the Plane,
    ACM Transactions on Mathematical Software,
    Volume 25, Number 1, March 1999, pages 78-94.
  3. Donald Shepard,
    A two-dimensional interpolation function for irregularly spaced data,
    ACM '68: Proceedings of the 1968 23rd ACM National Conference,
    ACM, pages 517-524, 1969.

Source Code:


Last revised on 01 June 2023.