xue@11
|
1 /*
|
xue@11
|
2 Harmonic sinusoidal modelling and tools
|
xue@11
|
3
|
xue@11
|
4 C++ code package for harmonic sinusoidal modelling and relevant signal processing.
|
xue@11
|
5 Centre for Digital Music, Queen Mary, University of London.
|
xue@11
|
6 This file copyright 2011 Wen Xue.
|
xue@11
|
7
|
xue@11
|
8 This program is free software; you can redistribute it and/or
|
xue@11
|
9 modify it under the terms of the GNU General Public License as
|
xue@11
|
10 published by the Free Software Foundation; either version 2 of the
|
xue@11
|
11 License, or (at your option) any later version.
|
xue@11
|
12 */
|
xue@1
|
13 #ifndef splinesH
|
xue@1
|
14 #define splinesH
|
xue@1
|
15
|
Chris@5
|
16 /**
|
Chris@5
|
17 \file splines.h - spline interpolation routines
|
xue@1
|
18 */
|
xue@1
|
19
|
xue@1
|
20 //--cubic spline construction routines---------------------------------------
|
xue@1
|
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);
|
xue@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);
|
xue@1
|
23
|
xue@1
|
24 //--smooth interpolation-----------------------------------------------------
|
xue@1
|
25 void Smooth_Interpolate(double* y, int N, int P, double* x, double* xind);
|
xue@1
|
26
|
xue@1
|
27
|
xue@1
|
28 #endif
|