CMSIS DSP Library from CMSIS 2.0. See http://www.onarm.com/cmsis/ for full details
Dependents: K22F_DSP_Matrix_least_square BNO055-ELEC3810 1BNO055 ECE4180Project--Slave2 ... more
Maximum
[Statistics Functions]
Computes the maximum value of an array of data. More...
Functions | |
void | arm_max_f32 (float32_t *pSrc, uint32_t blockSize, float32_t *pResult, uint32_t *pIndex) |
Maximum value of a floating-point vector. | |
void | arm_max_q15 (q15_t *pSrc, uint32_t blockSize, q15_t *pResult, uint32_t *pIndex) |
Maximum value of a Q15 vector. | |
void | arm_max_q31 (q31_t *pSrc, uint32_t blockSize, q31_t *pResult, uint32_t *pIndex) |
Maximum value of a Q31 vector. | |
void | arm_max_q7 (q7_t *pSrc, uint32_t blockSize, q7_t *pResult, uint32_t *pIndex) |
Maximum value of a Q7 vector. |
Detailed Description
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.
Function Documentation
void arm_max_f32 | ( | float32_t * | pSrc, |
uint32_t | blockSize, | ||
float32_t * | pResult, | ||
uint32_t * | pIndex | ||
) |
Maximum value of a floating-point vector.
- Parameters:
-
[in] *pSrc points to the input vector [in] blockSize length of the input vector [out] *pResult maximum value returned here [out] *pIndex index of maximum value returned here
- Returns:
- none.
Definition at line 56 of file arm_max_f32.c.
void arm_max_q15 | ( | q15_t * | pSrc, |
uint32_t | blockSize, | ||
q15_t * | pResult, | ||
uint32_t * | pIndex | ||
) |
Maximum value of a Q15 vector.
- Parameters:
-
[in] *pSrc points to the input vector [in] blockSize length of the input vector [out] *pResult maximum value returned here [out] *pIndex index of maximum value returned here
- Returns:
- none.
Definition at line 48 of file arm_max_q15.c.
void arm_max_q31 | ( | q31_t * | pSrc, |
uint32_t | blockSize, | ||
q31_t * | pResult, | ||
uint32_t * | pIndex | ||
) |
Maximum value of a Q31 vector.
- Parameters:
-
[in] *pSrc points to the input vector [in] blockSize length of the input vector [out] *pResult maximum value returned here [out] *pIndex index of maximum value returned here
- Returns:
- none.
Definition at line 48 of file arm_max_q31.c.
void arm_max_q7 | ( | q7_t * | pSrc, |
uint32_t | blockSize, | ||
q7_t * | pResult, | ||
uint32_t * | pIndex | ||
) |
Maximum value of a Q7 vector.
- Parameters:
-
[in] *pSrc points to the input vector [in] blockSize length of the input vector [out] *pResult maximum value returned here [out] *pIndex index of maximum value returned here
- Returns:
- none.
Definition at line 48 of file arm_max_q7.c.
Generated on Tue Jul 12 2022 14:13:56 by 1.7.2