26 #if !defined(_SPANDSP_COMPLEX_VECTOR_FLOAT_H_) 27 #define _SPANDSP_COMPLEX_VECTOR_FLOAT_H_ 29 #if defined(__cplusplus) 38 for (i = 0; i < n; i++)
47 for (i = 0; i < n; i++)
52 #if defined(HAVE_LONG_DOUBLE) 53 static __inline__
void cvec_copyl(complexl_t z[],
const complexl_t x[],
int n)
57 for (i = 0; i < n; i++)
63 static __inline__
void cvec_zerof(
complexf_t z[],
int n)
67 for (i = 0; i < n; i++)
68 z[i] = complex_setf(0.0f, 0.0f);
72 static __inline__
void cvec_zero(
complex_t z[],
int n)
76 for (i = 0; i < n; i++)
77 z[i] = complex_set(0.0, 0.0);
81 #if defined(HAVE_LONG_DOUBLE) 82 static __inline__
void cvec_zerol(complexl_t z[],
int n)
86 for (i = 0; i < n; i++)
87 z[i] = complex_setl(0.0, 0.0);
96 for (i = 0; i < n; i++)
105 for (i = 0; i < n; i++)
110 #if defined(HAVE_LONG_DOUBLE) 111 static __inline__
void cvec_setl(complexl_t z[], complexl_t *x,
int n)
115 for (i = 0; i < n; i++)
125 #if defined(HAVE_LONG_DOUBLE) 126 SPAN_DECLARE(
void) cvec_mull(complexl_t z[],
const complexl_t x[],
const complexl_t y[],
int n);
143 #if defined(HAVE_LONG_DOUBLE) 149 SPAN_DECLARE(complexl_t) cvec_dot_prodl(
const complexl_t x[],
const complexl_t y[],
int n);
165 #if defined(__cplusplus) complex_t cvec_dot_prod(const complex_t x[], const complex_t y[], int n)
Find the dot product of two complex double vectors.
Definition: complex_vector_float.c:141
complexf_t cvec_dot_prodf(const complexf_t x[], const complexf_t y[], int n)
Find the dot product of two complex float vectors.
Definition: complex_vector_float.c:126
complexf_t cvec_circular_dot_prodf(const complexf_t x[], const complexf_t y[], int n, int pos)
Find the dot product of two complex float vectors, where the first is a circular buffer with an offse...
Definition: complex_vector_float.c:173