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