1 #ifndef INCLUDED_VOLK_COMPLEX_H 2 #define INCLUDED_VOLK_COMPLEX_H 25 typedef std::complex<int8_t>
lv_8sc_t;
33 inline std::complex<T>
lv_cmake(
const T& r,
const T&
i)
35 return std::complex<T>(r,
i);
39 inline typename T::value_type
lv_creal(
const T& x)
45 inline typename T::value_type
lv_cimag(
const T& x)
58 #if __STDC_VERSION__ >= 199901L 73 #define lv_cmake(r, i) ((r) + _Complex_I * (i)) 80 #define lv_creal(x) (__real__(x)) 82 #define lv_cimag(x) (__imag__(x)) 84 #define lv_conj(x) (~(x)) 92 #define lv_creal(x) (creal(x)) 94 #define lv_cimag(x) (cimag(x)) 96 #define lv_conj(x) (conj(x)) long long complex lv_64sc_t
Definition: volk_complex.h:69
short complex lv_16sc_t
Definition: volk_complex.h:67
#define lv_conj(x)
Definition: volk_complex.h:96
#define lv_cmake(r, i)
Definition: volk_complex.h:73
long complex lv_32sc_t
Definition: volk_complex.h:68
for i
Definition: volk_config_fixed.tmpl.h:25
double complex lv_64fc_t
Definition: volk_complex.h:71
float complex lv_32fc_t
Definition: volk_complex.h:70
#define lv_creal(x)
Definition: volk_complex.h:92
char complex lv_8sc_t
Provide typedefs and operators for all complex types in C and C++.
Definition: volk_complex.h:66
#define lv_cimag(x)
Definition: volk_complex.h:94