#include <iir.h>
Collaboration diagram for SPUC::iir< Numeric, Coeff >:

Public Types | |
| typedef mixed_type< Numeric, Coeff >::dtype | mult_type |
Public Member Functions | |
| iir (iir_coeff &design) | |
| ord = Filter order | |
| iir (long ord=1) | |
| ord = Filter order | |
| ~iir () | |
| Destructor. | |
| int | stages () |
| void | reset () |
| Reset history. | |
| void | set_coeffs (iir_coeff &design) |
| Set 2nd order IIR coefficients. | |
| void | set_round_bits (int stage, int bits) |
| Set 2nd order IIR coefficients. | |
| void | print () |
| print coefficients | |
| Numeric | clock (Numeric in) |
| Clock in sample and get output. | |
Public Attributes | |
| long | order |
| long | odd |
| long | n2 |
| smart_array< iir_2nd< Numeric, Coeff > > | sos |
| iir_lpf1< Numeric, Coeff > | fos |
| Coeff | gain |
| quantiser< Numeric > | Q |
consisting of first and second order filter sections
| typedef mixed_type<Numeric,Coeff>::dtype SPUC::iir< Numeric, Coeff >::mult_type |
| SPUC::iir< Numeric, Coeff >::iir | ( | iir_coeff & | design | ) | [inline] |
ord = Filter order
| SPUC::iir< Numeric, Coeff >::iir | ( | long | ord = 1 |
) | [inline] |
ord = Filter order
Destructor.
| Numeric SPUC::iir< Numeric, Coeff >::clock | ( | Numeric | in | ) | [inline] |
Clock in sample and get output.
| void SPUC::iir< Numeric, Coeff >::print | ( | void | ) | [inline] |
print coefficients
| void SPUC::iir< Numeric, Coeff >::reset | ( | void | ) | [inline] |
Reset history.
| void SPUC::iir< Numeric, Coeff >::set_coeffs | ( | iir_coeff & | design | ) | [inline] |
Set 2nd order IIR coefficients.
| void SPUC::iir< Numeric, Coeff >::set_round_bits | ( | int | stage, | |
| int | bits | |||
| ) | [inline] |
Set 2nd order IIR coefficients.
| int SPUC::iir< Numeric, Coeff >::stages | ( | ) | [inline] |
| iir_lpf1< Numeric, Coeff > SPUC::iir< Numeric, Coeff >::fos |
| smart_array<iir_2nd< Numeric, Coeff > > SPUC::iir< Numeric, Coeff >::sos |
1.4.7