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