comparison bayesianArraySrc/DynamicVector.h @ 2:179c09199b3c

bayesian vector now adding gaussians for kick onsets
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 31 Jan 2012 21:34:19 +0000
parents c4f9e49226eb
children 45b5cf9be377
comparison
equal deleted inserted replaced
1:852173ca8365 2:179c09199b3c
41 41
42 void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex); 42 void drawConstrainedVector(const int& minIndex, const int& maxIndex, const int& minScreenIndex, const int& maxScreenIndex);
43 43
44 void addConstant(const double& value); 44 void addConstant(const double& value);
45 void addGaussianShape(const double& mean, const double& stddev, double factor); 45 void addGaussianShape(const double& mean, const double& stddev, double factor);
46
47 void addGaussianShapeFromRealTime(const double& actualTime, const double& StdDev, double factor);
48
49
50
46 void addTriangularShape(double mean, double width, double factor); 51 void addTriangularShape(double mean, double width, double factor);
47 void addToIndex(const int& index, const double& constant); 52 void addToIndex(const int& index, const double& constant);
48 53
49 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo); 54 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo);
50 55