#include <gr_iir.h>
Public Member Functions | |
gr_iir (const vector< tap_type > &fftaps, const vector< tap_type > &fbtaps) | |
construct new IIR with given taps. | |
gr_iir () | |
virtual | ~gr_iir () |
virtual o_type | filter (const i_type input) |
compute a single output value. | |
virtual void | filterN (o_type output[], const i_type input[], unsigned long n) |
compute an array of N output values. input must have n valid entries. | |
unsigned | ntaps () const |
virtual void | set_taps (const vector< tap_type > &newfftaps, const vector< tap_type > &newfbtaps) |
install new_taps as the current taps. | |
Protected Attributes | |
vector< tap_type > | fftaps |
vector< tap_type > | fbtaps |
int | latest |
vector< o_type > | prev_output |
vector< o_type > | prev_input |
|
construct new IIR with given taps. Note that taps must be in backwards order, e.g., coefficient 0 is stored in xxtaps[N-1], coefficient 1 is stored in xxtaps[N-2], etc. fftaps comtains the feed-forward taps, and fbtaps the feedback ones |
|
|
|
|
|
compute a single output value.
|
|
compute an array of N output values.
|
|
|
|
install
|
|
|
|
|
|
|
|
|
|
|