![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_cmplx_mag_i16 | ( | const int16_t * | p_input, |
| int16_t * | p_output, | ||
| uint16_t | num ) |
#include <include/nrf_edgeai/dsp/fast_math/nrf_dsp_cmplx_math.h>
Computes the magnitude of the elements of a complex data vector in ingeter 16-bit format.
| [in] | p_input | Input array and the data is stored in an interleaved fashion [xR0, xI0, xR1, xI1, ..., xRn, xIn]. The input array should has a total of 2*num values |
| [out] | p_output | Output array where results should be written. The output array should has len of num samples |
| [in] | num | The number of complex samples in the input array |