Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels

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 is conerted to a fixed-point short.

Dispatcher Prototype

void volk_32f_x2_dot_prod_16i(int16_t* result, const float* input, const float* taps,
unsigned int num_points)

Inputs

  • input: vector of floats.
  • taps: float taps.
  • num_points: number of samples in both input and taps.

Outputs

  • result: pointer to a short value to hold the dot product result.

Example

int N = 10000;
<FIXME>
volk_32f_x2_dot_prod_16i();