Overview
Adds two vectors together element by element:
c[i] = a[i] + b[i]
Dispatcher Prototype
void volk_32fc_32f_add_32fc(
lv_32fc_t* cVector,
const lv_32fc_t* aVector,
const float* bVector,
unsigned int num_points)
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;
for(unsigned int ii = 0; ii < N; ++ii){
}
volk_32fc_32f_add_32fc(out, increasing, decreasing, N);
for(unsigned int ii = 0; ii < N; ++ii){
printf("out[%u] = %1.2f\n", ii, out[ii]);
}