1 //////////////////////////////////////////////////////////////////////////////// 2 // 3 // Copyright (c) 2008 The Regents of the University of California 4 // 5 // This file is part of Qbox 6 // 7 // Qbox is distributed under the terms of the GNU General Public License 8 // as published by the Free Software Foundation, either version 2 of 9 // the License, or (at your option) any later version. 10 // See the file COPYING in the root directory of this distribution 11 // or <http://www.gnu.org/licenses/>. 12 // 13 /////////////////////////////////////////////////////////////////////////////// 14 // 15 // spline.h 16 // 17 /////////////////////////////////////////////////////////////////////////////// 18 void spline(int n, double *x, double *y, double yp_left, double yp_right, 19 int bcnat_left, int bcnat_right, double *y2); 20 void splint (int n, double *xa, double *ya, double *y2a, double x, double *y); 21 void splintd (int n, double *xa, double *ya, double *y2a, 22 double x, double *y, double *dy); 23