LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
void | tpt_max_f32 (f32_t *aResult, uint32_t *aIndex, const f32_t *aInData, uint32_t aCount) |
Maximum value of a floating-point vector. More... | |
void | tpt_max_q15 (q15_t *aResult, uint32_t *aIndex, const q15_t *aInData, uint32_t aCount) |
Maximum value of a Q15 vector. More... | |
void | tpt_max_q31 (q31_t *aResult, uint32_t *aIndex, const q31_t *aInData, uint32_t aCount) |
Maximum value of a Q31 vector. More... | |
void | tpt_max_q7 (q7_t *aResult, uint32_t *aIndex, const q7_t *aInData, uint32_t aCount) |
Maximum value of a Q7 vector. More... | |
Computes the maximum value of an array of data. The function returns both the maximum value and its position within the array. There are separate functions for floating-point, Q31, Q15, and Q7 data types.
Maximum value of a floating-point vector.
[out] | aResult | maximum value returned here |
[out] | aIndex | index of maximum value returned here |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in input vector |
Maximum value of a Q15 vector.
[out] | aResult | maximum value returned here |
[out] | aIndex | index of maximum value returned here |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in input vector |
Maximum value of a Q31 vector.
[out] | aResult | maximum value returned here |
[out] | aIndex | index of maximum value returned here |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in input vector |
Maximum value of a Q7 vector.
[out] | aResult | maximum value returned here |
[out] | aIndex | index of maximum value returned here |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in input vector |