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

Overview

Computes the magnitude of the complexVector and stores the results in the magnitudeVector.

Dispatcher Prototype

void volk_16ic_magnitude_16i(int16_t* magnitudeVector, const lv_16sc_t* complexVector, unsigned int num_points)

Inputs

  • complexVector: The complex input vector.
  • num_points: The number of samples.

Outputs

  • magnitudeVector: The magnitude of the complex values.

Example

int N = 10000;
volk_16ic_magnitude_16i();
volk_free
VOLK_API void volk_free(void *aptr)
Free's memory allocated by volk_malloc.
Definition: volk_malloc.c:77
lv_16sc_t
short complex lv_16sc_t
Definition: volk_complex.h:58