CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Functions

void arm_min_f16 (const float16_t *pSrc, uint32_t blockSize, float16_t *pResult, uint32_t *pIndex)
 Minimum value of a floating-point vector.
 
void arm_min_f32 (const float32_t *pSrc, uint32_t blockSize, float32_t *pResult, uint32_t *pIndex)
 Minimum value of a floating-point vector.
 
void arm_min_f64 (const float64_t *pSrc, uint32_t blockSize, float64_t *pResult, uint32_t *pIndex)
 Minimum value of a floating-point vector.
 
void arm_min_no_idx_f16 (const float16_t *pSrc, uint32_t blockSize, float16_t *pResult)
 Minimum value of a floating-point vector.
 
void arm_min_no_idx_f32 (const float32_t *pSrc, uint32_t blockSize, float32_t *pResult)
 Minimum value of a floating-point vector.
 
void arm_min_no_idx_f64 (const float64_t *pSrc, uint32_t blockSize, float64_t *pResult)
 Maximum value of a floating-point vector.
 
void arm_min_no_idx_q15 (const q15_t *pSrc, uint32_t blockSize, q15_t *pResult)
 Minimum value of a q15 vector without index.
 
void arm_min_no_idx_q31 (const q31_t *pSrc, uint32_t blockSize, q31_t *pResult)
 Minimum value of a q31 vector without index.
 
void arm_min_no_idx_q7 (const q7_t *pSrc, uint32_t blockSize, q7_t *pResult)
 Minimum value of a q7 vector without index.
 
void arm_min_q15 (const q15_t *pSrc, uint32_t blockSize, q15_t *pResult, uint32_t *pIndex)
 Minimum value of a Q15 vector.
 
void arm_min_q31 (const q31_t *pSrc, uint32_t blockSize, q31_t *pResult, uint32_t *pIndex)
 Minimum value of a Q31 vector.
 
void arm_min_q7 (const q7_t *pSrc, uint32_t blockSize, q7_t *pResult, uint32_t *pIndex)
 Minimum value of a Q7 vector.
 

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

◆ arm_min_f16()

void arm_min_f16 ( const float16_t *  pSrc,
uint32_t  blockSize,
float16_t *  pResult,
uint32_t *  pIndex 
)

Minimum value of a floating-point vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here

◆ arm_min_f32()

void arm_min_f32 ( const 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]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here

◆ arm_min_f64()

void arm_min_f64 ( const float64_t pSrc,
uint32_t  blockSize,
float64_t pResult,
uint32_t *  pIndex 
)

Minimum value of a floating-point vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here

◆ arm_min_no_idx_f16()

void arm_min_no_idx_f16 ( const float16_t *  pSrc,
uint32_t  blockSize,
float16_t *  pResult 
)

Minimum value of a floating-point vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_no_idx_f32()

void arm_min_no_idx_f32 ( const float32_t pSrc,
uint32_t  blockSize,
float32_t pResult 
)

Minimum value of a floating-point vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_no_idx_f64()

void arm_min_no_idx_f64 ( const float64_t pSrc,
uint32_t  blockSize,
float64_t pResult 
)

Maximum value of a floating-point vector.

Minimum value of a floating-point vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_no_idx_q15()

void arm_min_no_idx_q15 ( const q15_t pSrc,
uint32_t  blockSize,
q15_t pResult 
)

Minimum value of a q15 vector without index.

Minimum value of a q15 vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_no_idx_q31()

void arm_min_no_idx_q31 ( const q31_t pSrc,
uint32_t  blockSize,
q31_t pResult 
)

Minimum value of a q31 vector without index.

Minimum value of a q31 vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_no_idx_q7()

void arm_min_no_idx_q7 ( const q7_t pSrc,
uint32_t  blockSize,
q7_t pResult 
)

Minimum value of a q7 vector without index.

Minimum value of a q7 vector.

Parameters
[in]pSrcpoints to the input vector
[in]blockSizenumber of samples in input vector
[out]pResultminimum value returned here

◆ arm_min_q15()

void arm_min_q15 ( const 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]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here

◆ arm_min_q31()

void arm_min_q31 ( const 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]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here

◆ arm_min_q7()

void arm_min_q7 ( const 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]blockSizenumber of samples in input vector
[out]pResultminimum value returned here
[out]pIndexindex of minimum value returned here