GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

Overview

This block computes the conjugate 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 input vector and the conjugate of the taps. The result is a single value stored in the result address and is returned as a complex float.

Dispatcher Prototype

void volk_32fc_x2_conjugate_dot_prod_32fc(lv_32fc_t* result, const lv_32fc_t* input, const lv_32fc_t* taps, unsigned int num_points)

Inputs

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

Outputs

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

Example

int N = 10000;
<FIXME>