Overview
Adds two vectors together element by element:
c[i] = a[i] + b[i]
Dispatcher Prototype
Inputs
- aVector: First vector of input points.
- bVector: Second vector of input points.
- num_points: The number of values in both input vector.
Outputs
- cVector: The output vector.
Example
The follow example adds the increasing and decreasing vectors such that the result of every summation pair is 10
int N = 10;
unsigned int alignment = volk_get_alignment();
for(unsigned int ii = 0; ii < N; ++ii){
}
volk_32fc_x2_add_32fc(out, increasing, decreasing, N);
for(unsigned int ii = 0; ii < N; ++ii){
printf("out[%u] = %1.2f\n", ii, out[ii]);
}