Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_cmplx_math.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
15#ifndef _NRF_DSP_FASTMATH_COMPLEX_MATH_H_
16#define _NRF_DSP_FASTMATH_COMPLEX_MATH_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
33void nrf_dsp_cmplx_mag_f32(const flt32_t* p_input, flt32_t* p_output, uint16_t num);
34
44void nrf_dsp_cmplx_mag_i16(const int16_t* p_input, int16_t* p_output, uint16_t num);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* _NRF_DSP_FASTMATH_COMPLEX_MATH_H_ */
51
void nrf_dsp_cmplx_mag_i16(const int16_t *p_input, int16_t *p_output, uint16_t num)
Computes the magnitude of the elements of a complex data vector in ingeter 16-bit format.
void nrf_dsp_cmplx_mag_f32(const flt32_t *p_input, flt32_t *p_output, uint16_t num)
Computes the magnitude of the elements of a complex data vector.
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21