Splines

Read the following sections in Hearn & Baker:

Your Task

Create a directory and download to it the following file :

spline.tar.Z

To extract the source files type:

uncompress spline.tar.Z
tar -xvf spline.tar

In the file bspline.c define the B-spline matrix for periodic cuic polynomials as given in equation (10-60) on page 341, and implement the function computeBsplinePoint() that computes P(u) as given in equation (10-59).