SPUC::iir_lpf< Numeric, Coeff > Class Template Reference
[SPUC double templatesIIR filters]

#include <iir_lpf.h>

Inheritance diagram for SPUC::iir_lpf< Numeric, Coeff >:

Inheritance graph
[legend]
Collaboration diagram for SPUC::iir_lpf< Numeric, Coeff >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 iir_lpf (Coeff A=0, long b=0)
Coeff get_a0 ()
Coeff get_b0 ()
Numeric clock (Numeric input)
 Input new sample and calculate output.

Protected Attributes

Coeff a

Detailed Description

template<class Numeric, class Coeff = float_type>
class SPUC::iir_lpf< Numeric, Coeff >

The filter is the first order low pass digital filter given by $ G(z) = \frac{1+z^-1}{1-az^-1} $

where a is real and |a| < 1 Note: Not normalized

Author:
Tony Kirke


Constructor & Destructor Documentation

template<class Numeric, class Coeff = float_type>
SPUC::iir_lpf< Numeric, Coeff >::iir_lpf ( Coeff  A = 0,
long  b = 0 
) [inline]


Member Function Documentation

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_lpf< Numeric, Coeff >::clock ( Numeric  input  )  [inline]

Input new sample and calculate output.

Reimplemented from SPUC::iir_lpf1< Numeric, Coeff >.

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_lpf< Numeric, Coeff >::get_a0 (  )  [inline]

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_lpf< Numeric, Coeff >::get_b0 (  )  [inline]


Member Data Documentation

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_lpf< Numeric, Coeff >::a [protected]


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 19:40:46 2008 for DSPTemplates by  doxygen 1.4.7