V4.0.1 of the ARM CMSIS DSP libraries. Note that arm_bitreversal2.s, arm_cfft_f32.c and arm_rfft_fast_f32.c had to be removed. arm_bitreversal2.s will not assemble with the online tools. So, the fast f32 FFT functions are not yet available. All the other FFT functions are available.

Dependents:   MPU9150_Example fir_f32 fir_f32 MPU9150_nucleo_noni2cdev ... more

Embed: (wiki syntax)

« Back to documentation index

Minimum

Computes the minimum value of an array of data. More...

Functions

void arm_min_f32 (float32_t *pSrc, uint32_t blockSize, float32_t *pResult, uint32_t *pIndex)
 Minimum value of a floating-point vector.
void arm_min_q15 (q15_t *pSrc, uint32_t blockSize, q15_t *pResult, uint32_t *pIndex)
 Minimum value of a Q15 vector.
void arm_min_q31 (q31_t *pSrc, uint32_t blockSize, q31_t *pResult, uint32_t *pIndex)
 Minimum value of a Q31 vector.
void arm_min_q7 (q7_t *pSrc, uint32_t blockSize, q7_t *pResult, uint32_t *pIndex)
 Minimum value of a Q7 vector.

Detailed Description

Computes the minimum value of an array of data.

The function returns both the minimum value and its position within the array. There are separate functions for floating-point, Q31, Q15, and Q7 data types.


Function Documentation

void arm_min_f32 ( float32_t *  pSrc,
uint32_t  blockSize,
float32_t *  pResult,
uint32_t *  pIndex 
)

Minimum value of a floating-point vector.

Parameters:
[in]*pSrcpoints to the input vector
[in]blockSizelength of the input vector
[out]*pResultminimum value returned here
[out]*pIndexindex of minimum value returned here
Returns:
none.

Definition at line 71 of file arm_min_f32.c.

void arm_min_q15 ( q15_t *  pSrc,
uint32_t  blockSize,
q15_t *  pResult,
uint32_t *  pIndex 
)

Minimum value of a Q15 vector.

Parameters:
[in]*pSrcpoints to the input vector
[in]blockSizelength of the input vector
[out]*pResultminimum value returned here
[out]*pIndexindex of minimum value returned here
Returns:
none.

Definition at line 64 of file arm_min_q15.c.

void arm_min_q31 ( q31_t *  pSrc,
uint32_t  blockSize,
q31_t *  pResult,
uint32_t *  pIndex 
)

Minimum value of a Q31 vector.

Parameters:
[in]*pSrcpoints to the input vector
[in]blockSizelength of the input vector
[out]*pResultminimum value returned here
[out]*pIndexindex of minimum value returned here
Returns:
none.

Definition at line 64 of file arm_min_q31.c.

void arm_min_q7 ( q7_t *  pSrc,
uint32_t  blockSize,
q7_t *  pResult,
uint32_t *  pIndex 
)

Minimum value of a Q7 vector.

Parameters:
[in]*pSrcpoints to the input vector
[in]blockSizelength of the input vector
[out]*pResultminimum value returned here
[out]*pIndexindex of minimum value returned here
Returns:
none.

Definition at line 63 of file arm_min_q7.c.