splines.h
Go to the documentation of this file.
1 /*
2  Harmonic sinusoidal modelling and tools
3 
4  C++ code package for harmonic sinusoidal modelling and relevant signal processing.
5  Centre for Digital Music, Queen Mary, University of London.
6  This file copyright 2011 Wen Xue.
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12 */
13 #ifndef splinesH
14 #define splinesH
15 
20 //--cubic spline construction routines---------------------------------------
21 void CubicSpline(int N, double* a, double* b, double* c, double* d, double* x, double* y, int bordermode, int mode=0, double* data=0, double xinterval=1, double xstart=0, double xend=-1);
22 void CubicSpline(int N, double* a, double* b, double* c, double* d, double h, double* y, int bordermode, int mode=0, double* data=0, double xinterval=1, double xstart=0, double xend=-1);
23 
24 //--smooth interpolation-----------------------------------------------------
25 void Smooth_Interpolate(double* y, int N, int P, double* x, double* xind);
26 
27 
28 #endif
void CubicSpline(int N, double *a, double *b, double *c, double *d, double *x, double *y, int bordermode, int mode=0, double *data=0, double xinterval=1, double xstart=0, double xend=-1)
Definition: splines.cpp:58
void Smooth_Interpolate(double *y, int N, int P, double *x, double *xind)
Definition: splines.cpp:234