comparison bayesianArraySrc/DynamicVector.h @ 15:780def3a1f36

Changed to have any definition - re midi matcher bug fix - and bringing in start and stop functions
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 05 Feb 2012 22:08:50 +0000
parents 746a5af43c02
children
comparison
equal deleted inserted replaced
14:0a52258accec 15:780def3a1f36
47 void addGaussianShape(const double& mean, const double& stddev, double factor); 47 void addGaussianShape(const double& mean, const double& stddev, double factor);
48 48
49 void addGaussianShapeFromRealTime(const double& actualTime, const double& StdDev, double factor); 49 void addGaussianShapeFromRealTime(const double& actualTime, const double& StdDev, double factor);
50 50
51 51
52 52
53 void addTriangularShape(double mean, double width, double factor); 53 void addTriangularShape(double mean, double width, double factor);
54 void addToIndex(const int& index, const double& constant); 54 void addToIndex(const int& index, const double& constant);
55 55
56 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo); 56 void doProduct(DynamicVector& arrayOne, DynamicVector& arrayTwo);
57 57
58 double getIndexInRealTerms(const int& index); 58 double getIndexInRealTerms(const int& index);
59 double getRealTermsAsIndex(double value); 59 double getRealTermsAsIndex(double value);
60 double getValueAtMillis(const double& millis); 60 double getValueAtMillis(const double& millis);
61 double millisToVectorUnits(const double& millis);
61 62
62 void printArray(); 63 void printArray();
63 void zero(); 64 void zero();
64 65
65 void copyFromDynamicVector(const DynamicVector& dynamicVec); 66 void copyFromDynamicVector(const DynamicVector& dynamicVec);