Interpolation of Scattered Data in the Plane

TOMS660 is a FORTRAN77 library which interpolates scattered 2D data, also called "qshep2d", by Robert Renka.

TOMS660 takes a set of data values ZDAT(XDAT,YDAT), where the points (XDAT,YDAT) are "scattered" in the plane, and constructs an interpolating function Z(X,Y) which matches the given data, and extends smoothly through the plane.

TOMS660 is primarily a FORTRAN90 "translation" of a FORTRAN77 program which was written by Robert Renka and published in the ACM Transactions on Mathematical Software.

TOMS660 is ACM Transactions on Mathematical Software Algorithm number 660. The original text of any ACM TOMS algorithm is available through ACM: or NETLIB:


TOMS660 is available in a FORTRAN77 version and a FORTRAN90 version.

Related Data and Programs:

RBF_INTERP_ND, a FORTRAN77 library which defines and evaluates radial basis interpolants to multidimensional data.

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

TOMS661, a FORTRAN77 library which takes scattered 3D data and produces an interpolating function F(X,Y,Z), this is ACM TOMS algorithm 661, called qshep3d, by Robert Renka.

TOMS790, a FORTRAN77 library which computes an interpolating function to a set of scattered data in the plane; this library is commonly called CSHEP2D; by Robert Renka; this is ACM TOMS algorithm 790.

TOMS792, a FORTRAN77 library which tests functions that interpolate scattered data in the plane; by Robert Renka; this is ACM TOMS algorithm 792.

TOMS886, a FORTRAN77 library 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 ACM TOMS algorithm 886.


Robert Renka


  1. Robert Renka,
    Algorithm 660,
    QSHEP2D, Quadratic Shepard method for bivariate interpolation of scattered data,
    ACM Transactions on Mathematical Software,
    Volume 14, 1988, pages 149-150.

Source Code:

Examples and Tests:

List of Routines:

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

Last revised on 26 January 2012.