26#if !defined(_SPANDSP_COMPLEX_VECTOR_INT_H_)
27#define _SPANDSP_COMPLEX_VECTOR_INT_H_
29#if defined(__cplusplus)
36 memcpy(z, x, n*
sizeof(z[0]));
42 memcpy(z, x, n*
sizeof(z[0]));
48 memcpy(z, x, n*
sizeof(z[0]));
52static __inline__
void cvec_zeroi(
complexi_t z[],
int n)
54 memset(z, 0, n*
sizeof(z[0]));
58static __inline__
void cvec_zeroi16(
complexi16_t z[],
int n)
60 memset(z, 0, n*
sizeof(z[0]));
64static __inline__
void cvec_zeroi32(
complexi32_t z[],
int n)
66 memset(z, 0, n*
sizeof(z[0]));
74 for (i = 0; i < n; i++)
83 for (i = 0; i < n; i++)
92 for (i = 0; i < n; i++)
124#if defined(__cplusplus)
complexi32_t cvec_dot_prodi32(const complexi32_t x[], const complexi32_t y[], int n)
Find the dot product of two complex int32_t vectors.
Definition: complex_vector_int.c:68
complexi32_t cvec_dot_prodi16(const complexi16_t x[], const complexi16_t y[], int n)
Find the dot product of two complex int16_t vectors.
Definition: complex_vector_int.c:53
complexi32_t cvec_circular_dot_prodi16(const complexi16_t x[], const complexi16_t y[], int n, int pos)
Find the dot product of two complex int16_t vectors, where the first is a circular buffer with an off...
Definition: complex_vector_int.c:83
Definition: complex.h:100