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

Template for IIR comb type filter with programmable delay and gain. More...

#include <iir_comb.h>

Collaboration diagram for SPUC::iir_comb< Numeric, Coeff >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 iir_comb (Coeff A=0, long delay=2, long b=0)
void init (Coeff A, long delay)
void set_coeff (Coeff A)
Numeric clock (Numeric input)
 Input new sample and calculate output.
void reset ()
 Reset.

Protected Attributes

Coeff acc_gain
Coeff in_gain
Numeric out
delay< Numeric > dly
long delay_size
Numeric previous_out
Numeric previous_in
quantiser< Numeric > Q

Detailed Description

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

Template for IIR comb type filter with programmable delay and gain.

Author:
Tony Kirke
iir_comb.png


Constructor & Destructor Documentation

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


Member Function Documentation

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

Input new sample and calculate output.

template<class Numeric, class Coeff = float_type>
void SPUC::iir_comb< Numeric, Coeff >::init ( Coeff  A,
long  delay 
) [inline]

template<class Numeric, class Coeff = float_type>
void SPUC::iir_comb< Numeric, Coeff >::reset ( void   )  [inline]

Reset.

template<class Numeric, class Coeff = float_type>
void SPUC::iir_comb< Numeric, Coeff >::set_coeff ( Coeff  A  )  [inline]


Member Data Documentation

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_comb< Numeric, Coeff >::acc_gain [protected]

template<class Numeric, class Coeff = float_type>
long SPUC::iir_comb< Numeric, Coeff >::delay_size [protected]

template<class Numeric, class Coeff = float_type>
delay<Numeric> SPUC::iir_comb< Numeric, Coeff >::dly [protected]

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_comb< Numeric, Coeff >::in_gain [protected]

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::out [protected]

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::previous_in [protected]

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_comb< Numeric, Coeff >::previous_out [protected]

template<class Numeric, class Coeff = float_type>
quantiser<Numeric> SPUC::iir_comb< Numeric, Coeff >::Q [protected]


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