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

Template Class for iir filter consisting of 1st order allpass sections. More...

#include <iir_allpass1_cascade.h>

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 iir_allpass1_cascade (float_type fp, int n=1, int coeff_bits=0)
 n = Filter stages
Coeff get_a0 (int i)
Coeff get_a1 (int i)
 ~iir_allpass1_cascade ()
 Destructor.
void reset ()
 Reset history.
Numeric clock (Numeric input)
 Clock in sample and get output.

Public Attributes

long stages
allpass< Numeric, Coeff > A0
allpass< Numeric, Coeff > A1
Numeric prev_input

Detailed Description

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

Template Class for iir filter consisting of 1st order allpass sections.

This is a halfband IIR filter with two branches of cascades of 1st order allpass sections

Author:
Tony Kirke
iir_allpass1_cascade.png


Constructor & Destructor Documentation

template<class Numeric, class Coeff = float_type>
SPUC::iir_allpass1_cascade< Numeric, Coeff >::iir_allpass1_cascade ( float_type  fp,
int  n = 1,
int  coeff_bits = 0 
) [inline]

n = Filter stages

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

Destructor.


Member Function Documentation

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

Clock in sample and get output.

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

template<class Numeric, class Coeff = float_type>
Coeff SPUC::iir_allpass1_cascade< Numeric, Coeff >::get_a1 ( int  i  )  [inline]

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

Reset history.


Member Data Documentation

template<class Numeric, class Coeff = float_type>
allpass< Numeric,Coeff > SPUC::iir_allpass1_cascade< Numeric, Coeff >::A0

template<class Numeric, class Coeff = float_type>
allpass< Numeric,Coeff > SPUC::iir_allpass1_cascade< Numeric, Coeff >::A1

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_allpass1_cascade< Numeric, Coeff >::prev_input

template<class Numeric, class Coeff = float_type>
long SPUC::iir_allpass1_cascade< Numeric, Coeff >::stages


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