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:
-
Philip Davis,
Interpolation and Approximation,
Dover, 1975,
ISBN: 0-486-62495-1,
LC: QA221.D33
Source Code:
-
p00_f.m,
evaluates the function for any problem.
-
p00_plot.m,
creates a plot of any problem.
-
p00_prob_num.m,
returns the number of test problems.
-
p00_title.m,
prints the title for any problem.
-
p01_f.m,
returns the function for problem p01.
-
p01_title.m,
returns the title for problem p01.
-
p02_f.m,
returns the function for problem p02.
-
p02_title.m,
returns the title for problem p02.
-
p03_f.m,
returns the function for problem p03.
-
p03_title.m,
returns the title for problem p03.
-
p04_f.m,
returns the function for problem p04.
-
p04_title.m,
returns the title for problem p04.
-
p05_f.m,
returns the function for problem p05.
-
p05_title.m,
returns the title for problem p05.
-
p06_f.m,
returns the function for problem p06.
-
p06_title.m,
returns the title for problem p06.
-
p07_f.m,
returns the function for problem p07.
-
p07_title.m,
returns the title for problem p07.
-
p08_f.m,
returns the function for problem p08.
-
p08_title.m,
returns the title for problem p08.
Last revised on 14 October 2022.