Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::fir_adapt< Numeric > Class Template Reference
[FIR filtersEqualization Classes]

template class fir_adapt Based on FIR class, created to support LMS adaptive filtering More...

#include <fir_adapt.h>

Inheritance diagram for SPUC::fir_adapt< Numeric >:

Inheritance graph
[legend]
Collaboration diagram for SPUC::fir_adapt< Numeric >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 fir_adapt (void)
 Constructor.
 fir_adapt (long n, double gain=0.01)
 Constructor with size.
void reset ()
 Reset both history and coefficients!
void set_gain (double gain)
 Set adaptation gain.
void update_lms (Numeric err)
 Calculate updated taps using LMS algorithm.
void update_lms_sign_coeff (Numeric err)
 Calculate updated taps using LMS algorithm and sign of input.

Public Attributes

double u
 Adaptation gain.

Detailed Description

template<class Numeric>
class SPUC::fir_adapt< Numeric >

template class fir_adapt Based on FIR class, created to support LMS adaptive filtering

fir_adapt.gif


Constructor & Destructor Documentation

template<class Numeric>
SPUC::fir_adapt< Numeric >::fir_adapt void   )  [inline]
 

Constructor.

template<class Numeric>
SPUC::fir_adapt< Numeric >::fir_adapt long  n,
double  gain = 0.01
[inline]
 

Constructor with size.


Member Function Documentation

template<class Numeric>
void SPUC::fir_adapt< Numeric >::reset void   )  [inline]
 

Reset both history and coefficients!

Reimplemented from SPUC::fir< Numeric >.

template<class Numeric>
void SPUC::fir_adapt< Numeric >::set_gain double  gain  )  [inline]
 

Set adaptation gain.

template<class Numeric>
void SPUC::fir_adapt< Numeric >::update_lms Numeric  err  )  [inline]
 

Calculate updated taps using LMS algorithm.

template<class Numeric>
void SPUC::fir_adapt< Numeric >::update_lms_sign_coeff Numeric  err  )  [inline]
 

Calculate updated taps using LMS algorithm and sign of input.


Member Data Documentation

template<class Numeric>
double SPUC::fir_adapt< Numeric >::u
 

Adaptation gain.


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:08:51 2005 for spuc by  doxygen 1.4.4