GNU Radio 3.7.1 C++ API
|
FFT: complex in, complex out. More...
#include <fft.h>
Public Member Functions | |
fft_complex (int fft_size, bool forward=true, int nthreads=1) | |
virtual | ~fft_complex () |
gr_complex * | get_inbuf () const |
gr_complex * | get_outbuf () const |
int | inbuf_length () const |
int | outbuf_length () const |
void | set_nthreads (int n) |
int | nthreads () const |
void | execute () |
FFT: complex in, complex out.
gr::fft::fft_complex::fft_complex | ( | int | fft_size, |
bool | forward = true , |
||
int | nthreads = 1 |
||
) |
virtual gr::fft::fft_complex::~fft_complex | ( | ) | [virtual] |
compute FFT. The input comes from inbuf, the output is placed in outbuf.
gr_complex* gr::fft::fft_complex::get_inbuf | ( | ) | const [inline] |
gr_complex* gr::fft::fft_complex::get_outbuf | ( | ) | const [inline] |
int gr::fft::fft_complex::inbuf_length | ( | ) | const [inline] |
int gr::fft::fft_complex::nthreads | ( | ) | const [inline] |
Get the number of threads being used by FFTW
int gr::fft::fft_complex::outbuf_length | ( | ) | const [inline] |
void gr::fft::fft_complex::set_nthreads | ( | int | n | ) |
Set the number of threads to use for caclulation.