|
GNU Radio 3.5.3.1 C++ API
|
Concrete class for generic implementation of FIR with float input, short output and float taps. More...
#include <gr_fir_fsf_generic.h>

Public Member Functions | |
| gr_fir_fsf_generic () | |
| gr_fir_fsf_generic (const std::vector< float > &taps) | |
| virtual short | filter (const float input[]) |
| compute a single output value. | |
| virtual void | filterN (short output[], const float input[], unsigned long n) |
| compute an array of N output values. | |
| virtual void | filterNdec (short output[], const float input[], unsigned long n, unsigned decimate) |
| compute an array of N output values, decimating the input | |
Public Member Functions inherited from gr_fir_fsf | |
| gr_fir_fsf () | |
| construct new FIR with given taps. | |
| gr_fir_fsf (const std::vector< float > &taps) | |
| virtual | ~gr_fir_fsf () |
| 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 |
Additional Inherited Members | |
Protected Attributes inherited from gr_fir_fsf | |
| std::vector< float > | d_taps |
Concrete class for generic implementation of FIR with float input, short output and float taps.
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)
|
inline |
|
inline |
|
virtual |
compute a single output value.
input must have ntaps() valid entries. input[0] .. input[ntaps() - 1] are referenced to compute the output value.
Implements gr_fir_fsf.
Reimplemented in gr_fir_fsf_simd.
|
virtual |
compute an array of N output values.
input must have (n - 1 + ntaps()) valid entries. input[0] .. input[n - 1 + ntaps() - 1] are referenced to compute the output values.
Implements gr_fir_fsf.
|
virtual |
compute an array of N output values, decimating the input
input must have (decimate * (n - 1) + ntaps()) valid entries. input[0] .. input[decimate * (n - 1) + ntaps() - 1] are referenced to compute the output values.
Implements gr_fir_fsf.