GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gr::fft::fft_real_fwd Class Reference

FFT: real in, complex out. More...

#include <gnuradio/fft/fft.h>

Public Member Functions

 fft_real_fwd (int fft_size, int nthreads=1)
 
virtual ~fft_real_fwd ()
 
float * get_inbuf () const
 
gr_complexget_outbuf () const
 
int inbuf_length () const
 
int outbuf_length () const
 
void set_nthreads (int n)
 
int nthreads () const
 
void execute ()
 

Detailed Description

FFT: real in, complex out.

Constructor & Destructor Documentation

gr::fft::fft_real_fwd::fft_real_fwd ( int  fft_size,
int  nthreads = 1 
)
virtual gr::fft::fft_real_fwd::~fft_real_fwd ( )
virtual

Member Function Documentation

void gr::fft::fft_real_fwd::execute ( )

compute FFT. The input comes from inbuf, the output is placed in outbuf.

float* gr::fft::fft_real_fwd::get_inbuf ( ) const
inline
gr_complex* gr::fft::fft_real_fwd::get_outbuf ( ) const
inline
int gr::fft::fft_real_fwd::inbuf_length ( ) const
inline
int gr::fft::fft_real_fwd::nthreads ( ) const
inline

Get the number of threads being used by FFTW

int gr::fft::fft_real_fwd::outbuf_length ( ) const
inline
void gr::fft::fft_real_fwd::set_nthreads ( int  n)

Set the number of threads to use for caclulation.


The documentation for this class was generated from the following file: