SPUC
3.0
|
Template Class for Modeling a Direct Form IIR. More...
#include <iir_df.h>
Public Member Functions | |
void | reset () |
Reset. More... | |
Numeric | out () |
Get current output. More... | |
~iir_df (void) | |
iir_df (const char *filep, const char *filez) | |
Constructor. More... | |
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 |
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
|
inline |
|
inline |
Constructor.
References SPUC::fir< Numeric, Coeff >::read_taps().
|
inline |
References SPUC::fir< Numeric, Coeff >::coeff.
|
inline |
|
inline |
Get current output.
|
inline |
|
inline |
|
inline |
References SPUC::fir< Numeric, Coeff >::iir(), and SPUC::fir< Numeric, Coeff >::update().
Referenced by SPUC::iir_df< Numeric, Coeff >::clock().
int SPUC::iir_df< Numeric, Coeff >::err |
Numeric SPUC::iir_df< Numeric, Coeff >::output |
fir<Numeric,Coeff> SPUC::iir_df< Numeric, Coeff >::poles |
fir<Numeric,Coeff> SPUC::iir_df< Numeric, Coeff >::zeros |