gri_fft_filter_ccc_generic Class Reference
[Filters]

Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps. More...

#include <gri_fft_filter_ccc_generic.h>

List of all members.

Public Member Functions

 gri_fft_filter_ccc_generic (int decimation, const std::vector< gr_complex > &taps)
 Construct an FFT filter for complex vectors with the given taps and decimation rate.
 ~gri_fft_filter_ccc_generic ()
int set_taps (const std::vector< gr_complex > &taps)
 Set new taps for the filter.
int filter (int nitems, const gr_complex *input, gr_complex *output)
 Perform the filter operation.

Detailed Description

Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps.


Constructor & Destructor Documentation

gri_fft_filter_ccc_generic::gri_fft_filter_ccc_generic ( int  decimation,
const std::vector< gr_complex > &  taps 
)

Construct an FFT filter for complex vectors with the given taps and decimation rate.

This is the basic implementation for performing FFT filter for fast convolution in other blocks for complex vectors (such as gr_fft_filter_ccc).

Parameters:
decimation The decimation rate of the filter (int)
taps The filter taps (complex)
gri_fft_filter_ccc_generic::~gri_fft_filter_ccc_generic (  ) 

Member Function Documentation

int gri_fft_filter_ccc_generic::filter ( int  nitems,
const gr_complex input,
gr_complex output 
)

Perform the filter operation.

Parameters:
nitems The number of items to produce
input The input vector to be filtered
output The result of the filter operation
int gri_fft_filter_ccc_generic::set_taps ( const std::vector< gr_complex > &  taps  ) 

Set new taps for the filter.

Sets new taps and resets the class properties to handle different sizes

Parameters:
taps The filter taps (complex)

The documentation for this class was generated from the following file:
Generated on Tue Dec 28 18:35:17 2010 for GNU Radio 3.3.0 C++ API by  doxygen 1.6.3