FIR with internal buffer for float input, float output and float taps. More...
#include <gnuradio/filter/fir_filter_with_buffer.h>
| Public Member Functions | |
| fir_filter_with_buffer_fff (const std::vector< float > &taps) | |
| construct new FIR with given taps. | |
| fir_filter_with_buffer_fff (const fir_filter_with_buffer_fff &)=delete | |
| fir_filter_with_buffer_fff & | operator= (const fir_filter_with_buffer_fff &)=delete | 
| fir_filter_with_buffer_fff (fir_filter_with_buffer_fff &&)=default | |
| fir_filter_with_buffer_fff & | operator= (fir_filter_with_buffer_fff &&)=default | 
| float | filter (float input) | 
| compute a single output value. | |
| float | filter (const float input[], unsigned long dec) | 
| compute a single output value; designed for decimating filters. | |
| void | filterN (float output[], const float input[], unsigned long n) | 
| compute an array of N output values. | |
| void | filterNdec (float output[], const float input[], unsigned long n, unsigned long decimate) | 
| compute an array of N output values, decimating the input | |
| unsigned int | ntaps () const | 
| void | set_taps (const std::vector< float > &taps) | 
| install new_tapsas the current taps. | |
| std::vector< float > | taps () const | 
FIR with internal buffer for float input, float output and float taps.
| gr::filter::kernel::fir_filter_with_buffer_fff::fir_filter_with_buffer_fff | ( | const std::vector< float > & | 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.
References taps().
Referenced by fir_filter_with_buffer_fff(), fir_filter_with_buffer_fff(), operator=(), and operator=().
| 
 | delete | 
References fir_filter_with_buffer_fff().
| 
 | default | 
References fir_filter_with_buffer_fff().
| float gr::filter::kernel::fir_filter_with_buffer_fff::filter | ( | const float | input[], | 
| unsigned long | dec ) | 
compute a single output value; designed for decimating filters.
input is a single input value of the filter type. The value of dec is the decimating value of the filter, so input[] must have dec valid values. The filter pushes dec number of items onto the circ. buffer before computing a single output.
| float gr::filter::kernel::fir_filter_with_buffer_fff::filter | ( | float | input | ) | 
compute a single output value.
input is a single input value of the filter type
| void gr::filter::kernel::fir_filter_with_buffer_fff::filterN | ( | float | output[], | 
| const float | input[], | ||
| unsigned long | n ) | 
| void gr::filter::kernel::fir_filter_with_buffer_fff::filterNdec | ( | float | output[], | 
| const float | input[], | ||
| unsigned long | n, | ||
| unsigned long | decimate ) | 
| 
 | inline | 
| 
 | delete | 
References fir_filter_with_buffer_fff().
| 
 | default | 
References fir_filter_with_buffer_fff().
| void gr::filter::kernel::fir_filter_with_buffer_fff::set_taps | ( | const std::vector< float > & | taps | ) | 
install new_taps as the current taps. 
References taps().
| std::vector< float > gr::filter::kernel::fir_filter_with_buffer_fff::taps | ( | ) | const | 
Referenced by fir_filter_with_buffer_fff(), and set_taps().