comparison src/Support/ERBTools.h @ 11:bd370910aa05

-Added modules template -Changed header guard style to be more consistent with the Google style guide -Added Doyxfile to generate doxygen documentation -Added structure diagram -Updated swig script to reflect new modules -Changes Gaussians back to using floats and changed tolerance on tests - doubles are unnecessary here
author tomwalters
date Fri, 19 Feb 2010 12:15:56 +0000
parents 3c782dec2fc0
children b4cafba48e9d
comparison
equal deleted inserted replaced
10:d54efba7f09b 11:bd370910aa05
23 /*! \author: Thomas Walters <tom@acousticscale.org> 23 /*! \author: Thomas Walters <tom@acousticscale.org>
24 * \date 2010/01/23 24 * \date 2010/01/23
25 * \version \$Id: ERBTools.h 1 2010-02-02 11:04:50Z tcw $ 25 * \version \$Id: ERBTools.h 1 2010-02-02 11:04:50Z tcw $
26 */ 26 */
27 27
28 #ifndef _AIMC_SUPPORT_ERBTOOLS_H_ 28 #ifndef AIMC_SUPPORT_ERBTOOLS_H_
29 #define _AIMC_SUPPORT_ERBTOOLS_H_ 29 #define AIMC_SUPPORT_ERBTOOLS_H_
30 30
31 #include <math.h> 31 #include <math.h>
32 32
33 namespace aimc { 33 namespace aimc {
34 class ERBTools { 34 class ERBTools {
45 return (pow(10, (erb / 21.4f)) - 1.0f) / 4.37f * 1000.0f; 45 return (pow(10, (erb / 21.4f)) - 1.0f) / 4.37f * 1000.0f;
46 } 46 }
47 }; 47 };
48 } 48 }
49 49
50 #endif // _AIMC_SUPPORT_ERBTOOLS_H_ 50 #endif // AIMC_SUPPORT_ERBTOOLS_H_