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

Takes each the input complex vector value to the specified power and stores the results in the return vector. The output is scaled and converted to 16-bit shorts.

Dispatcher Prototype

void volk_32fc_s32f_power_32fc(lv_32fc_t* cVector, const lv_32fc_t* aVector, const float power, unsigned int num_points)

Inputs

  • aVector: The complex input vector.
  • power: The power value to be applied to each data point.
  • num_points: The number of samples.

Outputs

  • cVector: The output value as 16-bit shorts.

Example

int N = 10000;