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

Overview

Computes the magnitude of the complexVector and stores the results in the magnitudeVector as a scaled floating point number.

Dispatcher Prototype

void volk_16ic_s32f_magnitude_32f(float* magnitudeVector, const lv_16sc_t*
complexVector, const float scalar, unsigned int num_points)
short complex lv_16sc_t
Definition: volk_complex.h:71

Inputs

  • complexVector: The complex input vector of complex 16-bit shorts.
  • scalar: The value to be divided against each sample of the input complex vector.
  • num_points: The number of samples.

Outputs

  • magnitudeVector: The magnitude of the complex values.

Example

int N = 10000;
volk_16ic_s32f_magnitude_32f();
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition: volk_malloc.c:80