LMSCanceller.h

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

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8