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
14typedef std::complex<float> SComplex;
15typedef 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.
19struct ComplexStruct {
20 float real;
21 float imag;
22};
23
25
26#endif /* LIB_SCOMPLEX_H_ */
struct ComplexStruct SComplex
Definition clSComplex.h:17
std::vector< std::complex< float > > ComplexVector
Definition scomplex.h:15
struct ComplexStruct StructComplex
Definition scomplex.h:24
Definition clSComplex.h:12
float real
Definition clSComplex.h:13
float imag
Definition clSComplex.h:14