fun_ofdm
1.0
802.11a Physical Layer for USRP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
fft.h
Go to the documentation of this file.
1
8
#ifndef FFT_H
9
#define FFT_H
10
11
#include <complex>
12
#include <fftw3.h>
13
#include <vector>
14
15
namespace
fun
16
{
24
class
fft
25
{
26
public
:
27
28
33
fft
(
int
fft_length);
34
40
void
forward
(std::complex<double> data[64]);
41
48
void
inverse
(std::vector<std::complex<double> > & data);
49
50
private
:
51
55
static
const
int
fft_map
[64];
56
61
int
m_fft_length
;
62
66
fftw_complex *
m_fftw_in_forward
;
67
71
fftw_complex *
m_fftw_out_forward
;
72
76
fftw_complex *
m_fftw_in_inverse
;
77
81
fftw_complex *
m_fftw_out_inverse
;
82
86
fftw_plan
m_fftw_plan_forward
;
87
91
fftw_plan
m_fftw_plan_inverse
;
92
};
93
}
94
95
96
#endif // FFT_H
src
fft.h
Generated on Mon Oct 20 2014 10:26:27 for fun_ofdm by
1.8.4