![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_deriv_var_f32 | ( | const flt32_t * | p_input, |
| uint16_t | num, | ||
| nrf_dsp_derivative_var_f32_t * | p_deriv_variance ) |
#include <include/nrf_edgeai/dsp/statistic/nrf_dsp_var.h>
Calculate Derivatives of variance in the floating-point vector.
This function uses internal accumulator of flt32_t size, for calculating sum of squares of values, so it will lose precision if values less than 10e-4
| [in] | p_input | Pointer to the input vector |
| [in] | num | Number of samples in input vector |
| [out] | p_deriv_variance | Calculated derivatives of variance nrf_dsp_derivative_var_f32_t |