Index of /~haule/ComputationalPhysics/src_numerics/interpolation

      Name                    Last modified       Size  Description

[DIR] Parent Directory 18-Jan-2007 16:46 - [DIR] old/ 03-Mar-2007 11:26 - [TXT] Makefile 03-Mar-2007 11:27 1k [TXT] interpolation.cc 03-Mar-2007 11:27 1k [TXT] sblas.h 03-Mar-2007 11:27 1k [TXT] sfunction.h 03-Mar-2007 11:27 13k [TXT] smesh.h 03-Mar-2007 11:27 13k [TXT] spline.cc 03-Mar-2007 11:27 4k [TXT] sutil.h 03-Mar-2007 11:27 1k [TXT] zeroin.h 03-Mar-2007 11:27 5k

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.