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

Template Class for Modeling a Direct Form IIR. More...

#include <iir_df.h>

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

void reset ()
 Reset.
Numeric out ()
 Get current output.
 ~iir_df (void)
 iir_df (const char *filep, const char *filez)
 Constructor.
 iir_df (const iir_df< Numeric, Coeff > &cp)
Numeric clock (Numeric in)
Numeric update (Numeric in)
void print (void)

Public Attributes

fir< Numeric, Coeff > poles
fir< Numeric, Coeff > zeros
Numeric output
int err

Detailed Description

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

Template Class for Modeling a Direct Form IIR.

Template works for float_type, long, complex, etc Taps for FIR and IIR parts are typically loaded from two seperate files Assumed that IIR part Tap 0 = 1 and is not in file. Implemented as cascade of FIR part followed by IIR part IIR function implemented with FIR class using special iir function

Author:
Tony Kirke


Constructor & Destructor Documentation

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

template<class Numeric, class Coeff = float_type>
SPUC::iir_df< Numeric, Coeff >::iir_df ( const char *  filep,
const char *  filez 
) [inline]

Constructor.

template<class Numeric, class Coeff = float_type>
SPUC::iir_df< Numeric, Coeff >::iir_df ( const iir_df< Numeric, Coeff > &  cp  )  [inline]


Member Function Documentation

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

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

Get current output.

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

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

Reset.

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_df< Numeric, Coeff >::update ( Numeric  in  )  [inline]


Member Data Documentation

template<class Numeric, class Coeff = float_type>
int SPUC::iir_df< Numeric, Coeff >::err

template<class Numeric, class Coeff = float_type>
Numeric SPUC::iir_df< Numeric, Coeff >::output

template<class Numeric, class Coeff = float_type>
fir<Numeric,Coeff> SPUC::iir_df< Numeric, Coeff >::poles

template<class Numeric, class Coeff = float_type>
fir<Numeric,Coeff> SPUC::iir_df< Numeric, Coeff >::zeros


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