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

◆ nrf_dsp_range_i16()

uint16_t nrf_dsp_range_i16 ( const int16_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 INT16 fixed-point vector.

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

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