diff trunk/carfac/ihc_state.h @ 621:d763637a05c5

Second check-in of Alex Brandmeyer's C++ implementation of CARFAC. Addressed style issues and completed implementation of remaining functions. Still needs proper testing of the output stages against the MATLAB version, and runtime functions need improvements in efficiency.
author alexbrandmeyer
date Thu, 16 May 2013 17:33:23 +0000
parents 9c268a806bf2
children 7f424c1a8b78
line wrap: on
line diff
--- a/trunk/carfac/ihc_state.h	Mon May 13 22:51:15 2013 +0000
+++ b/trunk/carfac/ihc_state.h	Thu May 16 17:33:23 2013 +0000
@@ -25,18 +25,13 @@
 
 #include "ihc_coeffs.h"
 
-class IHCState {
-public:
-  int n_ch_;
+struct IHCState {
   FloatArray ihc_accum_;
   FloatArray cap1_voltage_;
   FloatArray cap2_voltage_;
   FloatArray lpf1_state_;
   FloatArray lpf2_state_;
   FloatArray ac_coupler_;
-  
-  void InitIHCState(IHCCoeffs ihc_coeffs);
-  
 };
 
-#endif
+#endif
\ No newline at end of file