LMSCanceller.h

Go to the documentation of this file.
00001 /** \addtogroup sigproc Signal processing methods */
00002 /* @{ */
00003 
00004 
00005 #ifndef LMSCANCELLER_H
00006 #define LMSCANCELLER_H
00007 
00008 #include "types.h"
00009 #include "LSSOFilter.h"
00010 
00011 //! Implements a LMS adaptive filter
00012 /*!*********************************************
00013  * LMSCanceller implements the Normalized Adaptive LMS Filter
00014  * as described in Haykin, p. 324 , it only supports a single
00015  * output channel an mutliple input channels have to be concatenated
00016  * at the input side
00017  */
00018 class LMSCanceller : public LSSOFilter
00019   {
00020 private:
00021   double mu;
00022 public:
00023   void SetMu(const double Mymu)
00024     {
00025       mu = Mymu;
00026     }
00027   virtual void
00028       AdaptFilter(const gplib::rvec &Input, const gplib::rvec &Desired);
00029   LMSCanceller(const int inputsize);
00030   LMSCanceller(const int inputsize, const double Mymu);
00031   virtual ~LMSCanceller();
00032   };
00033 /* @} */
00034 #endif // LMSCANCELLER_H

Generated on Fri Jul 4 15:30:20 2008 for GPLIB++ by  doxygen 1.5.5