comparison src/DynamicVector.h @ 9:75dcd1308658

looked at tempo process, likelihood function changed and improved. Now drawing using constrained vector function. Good working version.
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 23 Aug 2011 11:20:44 +0100
parents 4a8e6a6cd224
children 9860abc92a30
comparison
equal deleted inserted replaced
8:d9a3613e7264 9:75dcd1308658
29 double getIntegratedEstimate(); 29 double getIntegratedEstimate();
30 double getLookupIndex(const int& i, const double& mean, const double& StdDev); 30 double getLookupIndex(const int& i, const double& mean, const double& StdDev);
31 void addGaussianShapeByLookupTable(double& mean, double& StdDev, double& factor); 31 void addGaussianShapeByLookupTable(double& mean, double& StdDev, double& factor);
32 double gaussianLookupTable[GAUSSIAN_LOOKUP_LENGTH]; 32 double gaussianLookupTable[GAUSSIAN_LOOKUP_LENGTH];
33 double gaussianLookupMean, gaussianLookupStdDev; 33 double gaussianLookupMean, gaussianLookupStdDev;
34 34 double integratedEstimate;
35 void updateIntegratedEstimate();
35 36
36 void drawVector(const int& minIndex, const int& maxIndex); 37 void drawVector(const int& minIndex, const int& maxIndex);
37 void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex); 38 void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex);
38 39
39 void addConstant(double value); 40 void addConstant(double value);