#include <iir_coeff.h>
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_type > | p2_to_poly (smart_array< complex< float_type > > ab) |
| smart_array< float_type > | pz_to_poly (smart_array< complex< float_type > > z) |
| complex< float_type > | get_root (long i) |
| complex< float_type > | get_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_type > | a_tf |
| smart_array< float_type > | b_tf |
| float_type | gain |
| long | state |
| long | tf_state |
| long | ap_state |
| SPUC::iir_coeff::iir_coeff | ( | long | ord = 1 |
) |
ord = Filter order
| SPUC::iir_coeff::~iir_coeff | ( | ) |
Destructor.
| 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 | ) |
| long SPUC::iir_coeff::n2 |
| long SPUC::iir_coeff::odd |
1.4.7