comparison dsp/maths/MathUtilities.h @ 232:2b74f9646331

* Add key mode detector
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 11 Dec 2006 09:48:33 +0000
parents 49844bc8a895
children
comparison
equal deleted inserted replaced
231:dbc354a00714 232:2b74f9646331
23 static double princarg( double ang ); 23 static double princarg( double ang );
24 static double median( const double* src, unsigned int len ); 24 static double median( const double* src, unsigned int len );
25 static double mod( double x, double y); 25 static double mod( double x, double y);
26 static void getAlphaNorm(const double *data, unsigned int len, unsigned int alpha, double* ANorm); 26 static void getAlphaNorm(const double *data, unsigned int len, unsigned int alpha, double* ANorm);
27 static double getAlphaNorm(const std::vector <double> &data, unsigned int alpha ); 27 static double getAlphaNorm(const std::vector <double> &data, unsigned int alpha );
28 static void circShift( double* data, int length, int shift);
29 static int getMax( double* data, unsigned int length, double* max );
30 static int compareInt(const void * a, const void * b);
28 }; 31 };
29 32
30 #endif 33 #endif