SPUC::iir_coeff Class Reference
[SPUC non-template classesIIR filters]

Class for iir filter design. More...

#include <iir_coeff.h>

List of all members.

Public Member Functions

 iir_coeff (long ord=1)
 ord = Filter order
 ~iir_coeff ()
 Destructor.
void bilinear ()
 Do bilinear transformation.
void convert_to_ab ()
void z_root_to_ab (smart_array< complex< float_type > > z)
void pz_to_ap ()
void ab_to_tf ()
smart_array< float_typep2_to_poly (smart_array< complex< float_type > > ab)
smart_array< float_typepz_to_poly (smart_array< complex< float_type > > z)
complex< float_typeget_root (long i)
complex< float_typeget_zero (long i)
float_type get_a (long i)
float_type get_b (long i)
float_type get_coeff_a (long i)
float_type get_coeff_b (long i)
float_type max_abs_coeff ()
void quantize (int bits)
float_type freqz_mag (float_type freq)

Public Attributes

long order
long odd
long n2
smart_array< complex< float_type > > poles
smart_array< complex< float_type > > zeros
smart_array< float_typea_tf
smart_array< float_typeb_tf
float_type gain
long state
long tf_state
long ap_state


Detailed Description

Class for iir filter design.

Author:
Tony Kirke


Constructor & Destructor Documentation

SPUC::iir_coeff::iir_coeff ( long  ord = 1  ) 

ord = Filter order

SPUC::iir_coeff::~iir_coeff (  ) 

Destructor.


Member Function Documentation

void SPUC::iir_coeff::ab_to_tf (  ) 

void SPUC::iir_coeff::bilinear (  ) 

Do bilinear transformation.

void SPUC::iir_coeff::convert_to_ab (  ) 

float_type SPUC::iir_coeff::freqz_mag ( float_type  freq  ) 

float_type SPUC::iir_coeff::get_a ( long  i  ) 

float_type SPUC::iir_coeff::get_b ( long  i  ) 

float_type SPUC::iir_coeff::get_coeff_a ( long  i  ) 

float_type SPUC::iir_coeff::get_coeff_b ( long  i  ) 

complex< float_type > SPUC::iir_coeff::get_root ( long  i  ) 

complex< float_type > SPUC::iir_coeff::get_zero ( long  i  ) 

float_type SPUC::iir_coeff::max_abs_coeff (  ) 

smart_array< float_type > SPUC::iir_coeff::p2_to_poly ( smart_array< complex< float_type > >  ab  ) 

void SPUC::iir_coeff::pz_to_ap (  ) 

smart_array< float_type > SPUC::iir_coeff::pz_to_poly ( smart_array< complex< float_type > >  z  ) 

void SPUC::iir_coeff::quantize ( int  bits  ) 

void SPUC::iir_coeff::z_root_to_ab ( smart_array< complex< float_type > >  z  ) 


Member Data Documentation

smart_array<float_type > SPUC::iir_coeff::a_tf

long SPUC::iir_coeff::ap_state

smart_array<float_type > SPUC::iir_coeff::b_tf

float_type SPUC::iir_coeff::gain

long SPUC::iir_coeff::n2

long SPUC::iir_coeff::odd

long SPUC::iir_coeff::order

smart_array<complex<float_type> > SPUC::iir_coeff::poles

long SPUC::iir_coeff::state

long SPUC::iir_coeff::tf_state

smart_array<complex<float_type> > SPUC::iir_coeff::zeros


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