LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Mean Square Error
Collaboration diagram for Mean Square Error:

Functions

void tpt_mse_f32 (f32_t *aOutData, const f32_t *aInDataA, const f32_t *aInDataB, uint32_t aCount)
 Mean square error value of f32 vector. More...
 
void tpt_mse_f64 (f64_t *aOutData, const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount)
 Mean square error value of f32 vector. More...
 
void tpt_mse_q7 (q7_t *aOutData, const q7_t *aInDataA, const q7_t *aInDataB, uint32_t aCount)
 Mean square error value of q7 vector. More...
 
void tpt_mse_q15 (q15_t *aOutData, const q15_t *aInDataA, const q15_t *aInDataB, uint32_t aCount)
 Mean square error value of q15 vector. More...
 
void tpt_mse_q31 (q31_t *aOutData, const q31_t *aInDataA, const q31_t *aInDataB, uint32_t aCount)
 Mean square error value of q31 vector. More...
 

Detailed Description

Mean Square Error (MSE) functions calculate the MSE value of two vectors and return the MSE result

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

Function Documentation

◆ tpt_mse_f32()

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

Mean square error value of f32 vector.

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

◆ tpt_mse_f64()

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

Mean square error value of f32 vector.

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

◆ tpt_mse_q15()

void tpt_mse_q15 ( q15_t aOutData,
const q15_t aInDataA,
const q15_t aInDataB,
uint32_t  aCount 
)

Mean square error value of q15 vector.

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

◆ tpt_mse_q31()

void tpt_mse_q31 ( q31_t aOutData,
const q31_t aInDataA,
const q31_t aInDataB,
uint32_t  aCount 
)

Mean square error value of q31 vector.

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

◆ tpt_mse_q7()

void tpt_mse_q7 ( q7_t aOutData,
const q7_t aInDataA,
const q7_t aInDataB,
uint32_t  aCount 
)

Mean square error value of q7 vector.

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