GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
gr::fft::fft_complex Class Reference

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

#include <gnuradio/fft/fft.h>

Public Member Functions

 fft_complex (int fft_size, bool forward=true, int nthreads=1)
 
virtual ~fft_complex ()
 
gr_complexget_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: complex in, complex out.

Constructor & Destructor Documentation

◆ fft_complex()

gr::fft::fft_complex::fft_complex ( int  fft_size,
bool  forward = true,
int  nthreads = 1 
)

◆ ~fft_complex()

virtual gr::fft::fft_complex::~fft_complex ( )
virtual

Member Function Documentation

◆ execute()

void gr::fft::fft_complex::execute ( )

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

◆ get_inbuf()

gr_complex* gr::fft::fft_complex::get_inbuf ( ) const
inline

◆ get_outbuf()

gr_complex* gr::fft::fft_complex::get_outbuf ( ) const
inline

◆ inbuf_length()

int gr::fft::fft_complex::inbuf_length ( ) const
inline

◆ nthreads()

int gr::fft::fft_complex::nthreads ( ) const
inline

Get the number of threads being used by FFTW

◆ outbuf_length()

int gr::fft::fft_complex::outbuf_length ( ) const
inline

◆ set_nthreads()

void gr::fft::fft_complex::set_nthreads ( int  n)

Set the number of threads to use for caclulation.


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