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