interp


interp, an Octave code which takes a set of data associated with successive values of a parameter, and produces an interpolating function which can be evaluated over a continuous range of the parameter.

Licensing:

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

Languages:

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

Related Data and Programs:

interp_test

divdif, an Octave code which uses divided differences to interpolate data.

hermite_interpolant, an Octave code which computes the hermite interpolant, a polynomial that matches function values and derivatives.

interp, an Octave code which can be used for parameterizing and interpolating data;

lagrange_interp_1d, an Octave code which defines and evaluates the lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i).

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

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

spline, an Octave code which computes functions that approximate or interpolate data.

test_approx, an Octave code which defines a number of test problems for approximation and interpolation.

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

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

vandermonde_interp_1d, an Octave code which finds a polynomial interpolant to data by setting up and solving a linear system involving the vandermonde matrix.

Reference:

  1. Samuel Conte, Carl deBoor,
    Elementary Numerical Analysis,
    Second Edition,
    McGraw Hill, 1972,
    ISBN: 07-012446-4,
    LC: QA297.C65.

Source Code:


Last revised on 02 February 2019.