#include <gr_fir_fsf.h>
Inheritance diagram for gr_fir_fsf:
This is the abstract class for a Finite Impulse Response filter.
The trailing suffix has the form _IOT where I codes the input type, O codes the output type, and T codes the tap type. I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int)
Public Member Functions | |
gr_fir_fsf () | |
construct new FIR with given taps. | |
gr_fir_fsf (const std::vector< float > &taps) | |
virtual | ~gr_fir_fsf () |
virtual short | filter (const float input[])=0 |
compute a single output value. | |
virtual void | filterN (short output[], const float input[], unsigned long n)=0 |
compute an array of N output values. | |
virtual void | filterNdec (short output[], const float input[], unsigned long n, unsigned decimate)=0 |
compute an array of N output values, decimating the input | |
virtual void | set_taps (const std::vector< float > &taps) |
install new_taps as the current taps. | |
unsigned | ntaps () const |
virtual const std::vector< float > | get_taps () const |
Protected Attributes | |
std::vector< float > | d_taps |
|
construct new FIR with given taps. Note that taps must be in forward order, e.g., coefficient 0 is stored in new_taps[0], coefficient 1 is stored in new_taps[1], etc. |
|
|
|
|
|
compute a single output value.
Implemented in gr_fir_fsf_generic, and gr_fir_fsf_simd. |
|
compute an array of N output values.
Implemented in gr_fir_fsf_generic. |
|
compute an array of N output values, decimating the input
Implemented in gr_fir_fsf_generic. |
|
|
|
|
|
install
Reimplemented in gr_fir_fsf_simd. |
|
|