15#ifndef _NRF_DSP_STAT_MOMENTS_FUNCTIONS_H_
16#define _NRF_DSP_STAT_MOMENTS_FUNCTIONS_H_
void nrf_dsp_moments_f32(const flt32_t *p_input, uint16_t num, nrf_dsp_stat_ctx_f32_t *p_ctx, nrf_dsp_moments_f32_t *p_m)
Calculate 3 higher statistical moments(Variance, Skewness, Kurtosis) of a floating-point vector.
union nrf_dsp_moments_i8_u nrf_dsp_moments_i8_t
INT8 statistical moments container.
union nrf_dsp_moments_i16_u nrf_dsp_moments_i16_t
INT16 statistical moments container.
void nrf_dsp_moments_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride, nrf_dsp_stat_ctx_f32_t *p_ctx, nrf_dsp_moments_f32_t *p_m)
Calculate 3 higher statistical moments(Variance, Skewness, Kurtosis) of a floating-point vector.
union nrf_dsp_moments_f32_u nrf_dsp_moments_f32_t
Floating-point statistical moments container.
void nrf_dsp_moments_i16(const int16_t *p_input, uint16_t num, nrf_dsp_stat_ctx_i16_t *p_ctx, nrf_dsp_moments_i16_t *p_m)
Calculate 3 higher statistical moments(Variance, Skewness, Kurtosis) of a INT16 vector.
void nrf_dsp_moments_i8(const int8_t *p_input, uint16_t num, nrf_dsp_stat_ctx_i8_t *p_ctx, nrf_dsp_moments_i8_t *p_m)
Calculate 3 higher statistical moments(Variance, Skewness, Kurtosis) of a INT8 vector.
size_t size32_t
Architecture 32-bit size_t type definition.
Definition nrf_edgeai_ctypes.h:31
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21
Floating-point statistics reusable context, in which is used to store derived or intermediate metrics...
Definition nrf_dsp_types.h:85
INT16 statistics reusable context, in which is used to store derived or intermediate metrics to simpl...
Definition nrf_dsp_types.h:146
INT8 statistics reusable context, in which is used to store derived or intermediate metrics to simpli...
Definition nrf_dsp_types.h:125
flt32_t var
Definition nrf_dsp_moments.h:32
struct nrf_dsp_moments_f32_u::@90 moment
flt32_t moments[3U]
Definition nrf_dsp_moments.h:39
flt32_t skew
Definition nrf_dsp_moments.h:34
flt32_t kur
Definition nrf_dsp_moments.h:36
Floating-point statistical moments container.
Definition nrf_dsp_moments.h:28
int32_t moments[3U]
Definition nrf_dsp_moments.h:75
struct nrf_dsp_moments_i16_u::@92 moment
int32_t skew
Definition nrf_dsp_moments.h:70
int32_t var
Definition nrf_dsp_moments.h:68
int32_t kur
Definition nrf_dsp_moments.h:72
INT16 statistical moments container.
Definition nrf_dsp_moments.h:64
int16_t skew
Definition nrf_dsp_moments.h:52
int16_t kur
Definition nrf_dsp_moments.h:54
struct nrf_dsp_moments_i8_u::@91 moment
int16_t var
Definition nrf_dsp_moments.h:50
int16_t moments[3U]
Definition nrf_dsp_moments.h:57
INT8 statistical moments container.
Definition nrf_dsp_moments.h:46