Index of /grad/509/src_numerics/interpolation
Name Last modified Size Description
Parent Directory 18-Jan-2007 16:46 -
old/ 03-Mar-2007 11:26 -
sblas.h 03-Mar-2007 11:27 1k
Makefile 03-Mar-2007 11:27 1k
interpolation.cc 03-Mar-2007 11:27 1k
sutil.h 03-Mar-2007 11:27 1k
spline.cc 03-Mar-2007 11:27 4k
zeroin.h 03-Mar-2007 11:27 5k
sfunction.h 03-Mar-2007 11:27 13k
smesh.h 03-Mar-2007 11:27 13k
To compile the code, type make. You should get two executables:
"interpolation" and "spline".
The first example demonstrates the log-tan mesh and error of linear interpolation
of a function exp(-x)/sqrt(x)
The second example implements cubic splines and the help can be acceded by typing
"spline --help"
By default, "spline" prints the error of cubic spline for the same function
If '-task 1' option is added, it shows Fourier transform of the same function
using splines.