10 #ifndef INCLUDED_VOLK_COMPLEX_H
11 #define INCLUDED_VOLK_COMPLEX_H
34 typedef std::complex<int8_t>
lv_8sc_t;
42 inline std::complex<T>
lv_cmake(
const T& r,
const T&
i)
44 return std::complex<T>(r,
i);
48 inline typename T::value_type
lv_creal(
const T& x)
54 inline typename T::value_type
lv_cimag(
const T& x)
77 #define lv_cmake(r, i) ((r) + _Complex_I * (i))
84 #define lv_creal(x) (__real__(x))
86 #define lv_cimag(x) (__imag__(x))
88 #define lv_conj(x) (~(x))
96 #define lv_creal(x) (creal(x))
98 #define lv_cimag(x) (cimag(x))
100 #define lv_conj(x) (conj(x))
#define lv_cimag(x)
Definition: volk_complex.h:98
#define lv_conj(x)
Definition: volk_complex.h:100
#define lv_cmake(r, i)
Definition: volk_complex.h:77
char complex lv_8sc_t
Provide typedefs and operators for all complex types in C and C++.
Definition: volk_complex.h:70
long complex lv_32sc_t
Definition: volk_complex.h:72
double complex lv_64fc_t
Definition: volk_complex.h:75
#define lv_creal(x)
Definition: volk_complex.h:96
float complex lv_32fc_t
Definition: volk_complex.h:74
short complex lv_16sc_t
Definition: volk_complex.h:71
long long complex lv_64sc_t
Definition: volk_complex.h:73
for i
Definition: volk_config_fixed.tmpl.h:13