Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_dsp_range_f32()

flt32_t nrf_dsp_range_f32 ( const flt32_t * p_input,
uint16_t num )

#include <include/nrf_edgeai/dsp/statistic/nrf_dsp_range.h>

Finds the difference between the minimum and maximum value in the floating point vector.

This function finds min/max values via a call to nrf_dsp_min_max_f32().

Parameters
[in]p_inputPointer to the input vector
[in]numNumber of samples in input vector
Returns
flt32_t Difference between the minimum and maximum value in the input vector