/*! \file Interpolate.cxx * \brief interpolation subroutines */ #include using namespace std; namespace Math { //polynomial interpolation /*void PolyInt(Double_t *xa, Double_t *ya, int n, Double_t x, Double_t &y, Double_t &dy) { const int nmax=10; int i,m,ns; Double_t den,dif,dift,ho,hp,w; Double_t *c=new Double_t[nmax],*d=new Double_t[nmax]; ns=0; dif=fabs(x-xa[0]); for(int i=1;i