comparison dsp/maths/MathUtilities.h @ 7:85a9e268a8c4

* Add key mode detector
author cannam
date Mon, 11 Dec 2006 09:48:33 +0000
parents d7116e3183f8
children
comparison
equal deleted inserted replaced
6:a9bf0cfe9383 7:85a9e268a8c4
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