LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Absolute Minimum
Collaboration diagram for Absolute Minimum:

Functions

f32_t tpt_absmin_val_f32 (const f32_t *aInData, uint32_t aCount)
 Minimum absolute value of the single-precision floating-point vector. More...
 
f64_t tpt_absmin_val_f64 (const f64_t *aInData, uint32_t aCount)
 Minimum absolute value of the single-precision floating-point vector. More...
 
q7_t tpt_absmin_val_q7 (const q7_t *aInData, uint32_t aCount)
 Minimum absolute value of the q7 vector. More...
 
q15_t tpt_absmin_val_q15 (const q15_t *aInData, uint32_t aCount)
 Minimum absolute value of the q15 vector. More...
 
q31_t tpt_absmin_val_q31 (const q31_t *aInData, uint32_t aCount)
 Minimum absolute value of the q31 vector. More...
 

Detailed Description

Absolute minimum functions compare the absolute values in a vector and return the minimum one along with its index.

TPT DSP library supports distinct absolute minimum functions for single-precision floating-point, Q31, Q15 and Q7 data types. These functions are introduced in the subsections below.

Function Documentation

◆ tpt_absmin_val_f32()

f32_t tpt_absmin_val_f32 ( const f32_t aInData,
uint32_t  aCount 
)

Minimum absolute value of the single-precision floating-point vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
f32 Absolute minimum value

◆ tpt_absmin_val_f64()

f64_t tpt_absmin_val_f64 ( const f64_t aInData,
uint32_t  aCount 
)

Minimum absolute value of the single-precision floating-point vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
f64 Absolute minimum value

◆ tpt_absmin_val_q15()

q15_t tpt_absmin_val_q15 ( const q15_t aInData,
uint32_t  aCount 
)

Minimum absolute value of the q15 vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
q15 Absolute minimum value

◆ tpt_absmin_val_q31()

q31_t tpt_absmin_val_q31 ( const q31_t aInData,
uint32_t  aCount 
)

Minimum absolute value of the q31 vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
q31 Absolute minimum value

◆ tpt_absmin_val_q7()

q7_t tpt_absmin_val_q7 ( const q7_t aInData,
uint32_t  aCount 
)

Minimum absolute value of the q7 vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
q7 Absolute minimum value