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

* Add key mode detector
author cannam
date Mon, 11 Dec 2006 09:48:33 +0000
parents d7116e3183f8
children
line wrap: on
line diff
--- a/dsp/maths/MathUtilities.h	Fri Dec 08 18:05:36 2006 +0000
+++ b/dsp/maths/MathUtilities.h	Mon Dec 11 09:48:33 2006 +0000
@@ -25,6 +25,9 @@
     static double mod( double x, double y);
     static void	  getAlphaNorm(const double *data, unsigned int len, unsigned int alpha, double* ANorm);
     static double getAlphaNorm(const std::vector <double> &data, unsigned int alpha );
+    static void   circShift( double* data, int length, int shift);
+    static int	  getMax( double* data, unsigned int length, double* max );
+    static int    compareInt(const void * a, const void * b);
 };
 
 #endif