test_interp_1d


test_interp_1d, an Octave code which defines test functions y(x) that may be used to test interpolation algorithms involving a 1D argument x.

Licensing:

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

Languages:

test_interp_1d 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_1d_test

nearest_interp_1d, an Octave code which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion.

newton_interp_1d, an Octave code which finds a polynomial interpolant to data using Newton divided differences.

pwl_interp_1d, an Octave code which interpolates a set of data using a piecewise linear (PWL) interpolant.

Reference:

  1. Philip Davis,
    Interpolation and Approximation,
    Dover, 1975,
    ISBN: 0-486-62495-1,
    LC: QA221.D33

Source Code:


Last revised on 14 October 2022.