#include <gr_fir.h>
Public Member Functions | |
gr_fir (const vector< tap_type > &new_taps) | |
construct new FIR with given taps. | |
gr_fir () | |
virtual | ~gr_fir () |
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. | |
virtual void | filterNdec (o_type output[], const i_type input[], unsigned long n, unsigned decimate) |
compute an array of N output values, decimating the input | |
unsigned | ntaps () const |
virtual void | set_taps (const vector< tap_type > &new_taps) |
install new_taps as the current taps. | |
Protected Attributes | |
vector< tap_type > | taps |
|
construct new FIR with given taps. Note that taps must be in backwards order, e.g., coefficient 0 is stored in new_taps[N-1], coefficient 1 is stored in new_taps[N-2], etc. |
|
|
|
|
|
compute a single output value.
|
|
compute an array of N output values.
|
|
compute an array of N output values, decimating the input
|
|
|
|
install
|
|
|