PWL_INTERP_2D
Piecewise Linear Interpolation in 2D for Gridded Data


PWL_INTERP_2D is a Python library which evaluates a piecewise linear interpolant of data depending on a 2D argument, defined on on a product grid, so that p(x(i),y(j)) = z(i,j).

Licensing:

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

Languages:

PWL_INTERP_2D is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

PADUA, a Python library which returns the points and weights for Padu sets, useful for interpolation in 2D. MATLAB graphics are used to plot the points.

PWL_INTERP_1D, a Python library which interpolates a set of data using a piecewise linear function.

R8LIB, a Python library which contains many utility routines using double precision real (R8) arithmetic.

RBF_INTERP_2D, a Python library which defines and evaluates radial basis function (RBF) interpolants to 2D data.

TEST_INTERP_2D, a Python library which defines test problems for interpolation of data z(x,y), depending on a 2D argument.

Reference:

  1. Kendall Atkinson,
    An Introduction to Numerical Analysis,
    Prentice Hall, 1989,
    ISBN: 0471624896,
    LC: QA297.A94.1989.
  2. Philip Davis,
    Interpolation and Approximation,
    Dover, 1975,
    ISBN: 0-486-62495-1,
    LC: QA221.D33
  3. David Kahaner, Cleve Moler, Steven Nash,
    Numerical Methods and Software,
    Prentice Hall, 1989,
    ISBN: 0-13-627258-4,
    LC: TA345.K34.

Source Code:

You can go up one level to the Python source codes.


Last revised on 04 February 2018.