LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Vector Division
Collaboration diagram for Vector Division:

Functions

void tpt_div_f32 (f32_t *aOutData, const f32_t *aInDataA, const f32_t *aInDataB, uint32_t aCount)
 Division of floating-point vectors. More...
 
void tpt_div_f64 (f64_t *aOutData, const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount)
 Division of floating-point vectors. More...
 
q31_t tpt_div_q31 (const q31_t aInDataA, const q31_t aInDataB)
 Division of q31 inputs. More...
 

Detailed Description

In mathematics, division (รท) is an arithmetic operation. Specifically, if b times c equals a: a = b * c, where b is not zero, then a divided by b equals c, a / b = c

    aOutData[n] = aInDataA[n] / aInDataB[n],  0 <= n < aCount.
  

Function Documentation

◆ tpt_div_f32()

void tpt_div_f32 ( f32_t aOutData,
const f32_t aInDataA,
const f32_t aInDataB,
uint32_t  aCount 
)

Division of floating-point vectors.

Parameters
[out]aOutDatapointer of the destination vector
[in]aInDataApointer of the first input vector
[in]aInDataBpointer of the second input vector
[in]aCountsize of elements in a vector

◆ tpt_div_f64()

void tpt_div_f64 ( f64_t aOutData,
const f64_t aInDataA,
const f64_t aInDataB,
uint32_t  aCount 
)

Division of floating-point vectors.

Parameters
[out]aOutDatapointer of the destination vector
[in]aInDataApointer of the first input vector
[in]aInDataBpointer of the second input vector
[in]aCountsize of elements in a vector

◆ tpt_div_q31()

q31_t tpt_div_q31 ( const q31_t  aInDataA,
const q31_t  aInDataB 
)

Division of q31 inputs.

Parameters
[in]aInDataAdividend value
[in]aInDataBdivisor value
Returns
Quotient value