TEST_INTERP_4D
Interpolation Tests Based on 4D Functions


TEST_INTERP_4D is a FORTRAN90 library which can provide the values of certain scalar functions of a 4D argument that are useful for testing an interpolation algorithm using a varying number of points.

The problems available include:

  1. 4D Runge example, f(x) = 1 / ( w^2 + x^2 + y^2 + z^2 + 1 ), [-5,5]^4.
  2. Press example, f(x) = 514.1890*exp(-2.0*norm(x-(0.3,0.3,0.3,0.3) * x(1)*x(2)*x(3)*x(4) * (1-x(1))*(1-x(2))*(1-x(3))*(1-x(4)) , [0,1]^4.

Licensing:

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

Languages:

TEST_INTERP_FUN_4D is available in a FORTRAN90 version.

Related Data and Programs:

CHEBYSHEV, a FORTRAN90 library which computes the Chebyshev interpolant/approximant to a given function over an interval.

RBF_INTERP, a FORTRAN90 library which defines and evaluates radial basis interpolants to multidimensional data.

TEST_INTERP_FUN, a FORTRAN90 library which defines a number of test problems for interpolation in 1D, provided as functions (x,f(x)).

TEST_INTERP_2D, a FORTRAN90 library which defines a number of test problems for interpolation in 2D, provided as functions f(x,y).

Reference:

  1. Samuel Conte, Carl deBoor,
    Elementary Numerical Analysis,
    Second Edition,
    McGraw Hill, 1972,
    ISBN: 07-012446-4,
    LC: QA297.C65.
  2. Carl deBoor,
    A Practical Guide to Splines,
    Springer, 2001,
    ISBN: 0387953663,
    LC: QA1.A647.v27.

Source Code:

Examples and Tests:

List of Routines:

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


Last revised on 25 July 2012.