![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_scale_minmax_i16 | ( | const int16_t * | p_input, |
| uint16_t | num, | ||
| const int16_t | min, | ||
| const int16_t | max, | ||
| int16_t * | p_output ) |
#include <include/nrf_edgeai/dsp/support/nrf_dsp_scale_minmax.h>
Min-Max scaling of the INT16 vector ( y = (x - min) / (max - min) )
| [in] | p_input | Pointer to the input vector |
| [in] | num | Number of samples in input vector |
| [in] | min | Minimum scaling factor |
| [in] | max | Maximum scaling factor |
| [out] | p_output | Pointer to the output scaled vector |