Vitaly Badeev / Mbed 2 deprecated Radar1

Dependencies:   FT800_2 mbed Encoder

Embed: (wiki syntax)

« Back to documentation index

Maximum

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.

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]*pSrcpoints to the input vector
[in]blockSizelength of the input vector
[out]*pResultmaximum value returned here
[out]*pIndexindex of maximum value returned here
Returns:
none.

Definition at line 70 of file arm_max_f32.c.