Overview
This block computes the dot product (or inner product) between two vectors, the input
and taps
vectors. Given a set of num_points
taps, the result is the sum of products between the two vectors. The result is a single value stored in the result
address and will be complex.
Dispatcher Prototype
* taps, unsigned int num_points)
float complex lv_32fc_t
Definition: volk_complex.h:74
Inputs
- input: vector of complex samples
- taps: floating point taps
- num_points: number of samples in both
input
and taps
Outputs
- result: pointer to a complex value to hold the dot product result.
Example
int N = 10000;
<populate x and t with some values>
volk_32fc_dot_prod_32fc(&y, x, t, N);
size_t volk_get_alignment(void)
Get the machine alignment in bytes.
Definition: volk.tmpl.c:90
__VOLK_DECL_BEGIN VOLK_API void * volk_malloc(size_t size, size_t alignment)
Allocate size bytes of data aligned to alignment.
Definition: volk_malloc.c:38
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition: volk_malloc.c:80