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

◆ nrf_dsp_range_i32()

uint32_t nrf_dsp_range_i32 ( const int32_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 INT32 fixed-point vector.

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

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