GNU Radio's LFAST Package
scomplex.h
Go to the documentation of this file.
1 /*
2  * scomplex.h
3  *
4  * Author: ghostop14
5  */
6 
7 #ifndef LIB_SCOMPLEX_H_
8 #define LIB_SCOMPLEX_H_
9 
10 #include <complex>
11 #include <vector>
12 
13 // Common type definitions
14 typedef std::complex<float> SComplex;
15 typedef std::vector<std::complex<float> > ComplexVector;
16 
17 // This structure version is used in some places for optimization to get direct access
18 // to the values without having to make function calls to get/set.
19 struct ComplexStruct {
20  float real;
21  float imag;
22 };
23 
25 
26 #endif /* LIB_SCOMPLEX_H_ */
float imag
Definition: clSComplex.h:14
Definition: clSComplex.h:12
float real
Definition: clSComplex.h:13
std::complex< float > SComplex
Definition: scomplex.h:14
std::vector< std::complex< float > > ComplexVector
Definition: scomplex.h:15