GNU Radio 3.7.2.1 C++ API
|
Adaptive FIR filter kernel with gr_complex input, gr_complex output and float taps. More...
#include <adaptive_fir.h>
Public Member Functions | |
adaptive_fir_ccf (int decimation, const std::vector< float > &taps) | |
~adaptive_fir_ccf () | |
![]() | |
fir_filter_ccf (int decimation, const std::vector< float > &taps) | |
~fir_filter_ccf () | |
void | set_taps (const std::vector< float > &taps) |
void | update_tap (float t, unsigned int index) |
std::vector< float > | taps () const |
unsigned int | ntaps () const |
gr_complex | filter (const gr_complex input[]) |
void | filterN (gr_complex output[], const gr_complex input[], unsigned long n) |
void | filterNdec (gr_complex output[], const gr_complex input[], unsigned long n, unsigned int decimate) |
Protected Member Functions | |
virtual float | error (const gr_complex &out)=0 |
virtual void | update_tap (float &tap, const gr_complex &in)=0 |
Protected Attributes | |
float | d_error |
![]() | |
std::vector< float > | d_taps |
unsigned int | d_ntaps |
float ** | d_aligned_taps |
gr_complex * | d_output |
int | d_align |
int | d_naligned |
Adaptive FIR filter kernel with gr_complex input, gr_complex output and float taps.
This class implements an adaptive FIR filter. Any class actually wanting to use adaptive FIRs will contain an object of this class.
gr::filter::kernel::adaptive_fir_ccf::adaptive_fir_ccf | ( | int | decimation, |
const std::vector< float > & | taps | ||
) |
gr::filter::kernel::adaptive_fir_ccf::~adaptive_fir_ccf | ( | ) |
|
protectedpure virtual |
|
protectedpure virtual |
|
protected |