-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmy_fft.h
More file actions
22 lines (14 loc) · 744 Bytes
/
Copy pathmy_fft.h
File metadata and controls
22 lines (14 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MY_FFT_H
#define MY_FFT_H
#include <iostream>
#include <cmath>
#include "common_ofdm.h"
#define USE_SCALE 0
//MyComplex multComplex(MyComplex a, MyComplex b);
//MyComplex summComplex(MyComplex a, MyComplex b);
//MyComplex multEComplex(MyComplex a, float fi_deg);
//void multComplexEFFT(MyComplex a, int sizeFFT, int fi_deg, MyComplex *minus, MyComplex *plus, bool invers = false, CompensFP comp = None);
void doFFT(MyComplex *inputData, MyComplex *outputData, int size, bool invers, CompensFP comp = None);
void doFFT_f(MyComplex_f *inputData, MyComplex_f *outputData, int size, bool invers);
void doFFTR4_f(MyComplex_f *inputData, MyComplex_f *outputData, int size, bool invers);
#endif // MY_FFT_H