/* example implementation of grid splines
 * (a type of spline interpolations)
 *
 * you have probably downloaded this code from http://lalescu.ro/chichi,
 * so look there for instructions on how to use it.
 * in case something happens to my homepage and you only have the code,
 * see http://arxiv.org/abs/0905.3564 for a paper describing
 * the construction.
 * I will do my best to update my e-mail address on arxiv if necessary.
 * (currently clalescu a_t ulb.ac.be)
 *
 * I'm sorry for the lack of comments in the code, but I sincerely doubt
 * that they are necessary. The problem is pretty simple, and this code
 * is just a simple example.
 * 
 * 27 may 2009                                               version 1.0
 ************************************************************************/
/*
 *   Copyright (C) 2009 Cristian Constantin Lalescu
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 ************************************************************************/

README.TXT:

I've compiled this code with "g++ main.cpp" and it works with no
obvious problems.
If you do run into trouble and you think it's my fault, feel free to
write your own code and use just the polynomials (if you read the paper,
you should be able to find them from scratch too). I did NOT write this
particular code to use it in serious applications.
Please contact me for any questions or comments regarding the optimisation
of this code, or the math related to the splines or for informations
regarding their practical use.


