LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Log-Sum-Exp (LSE) Dot Product
Collaboration diagram for Log-Sum-Exp (LSE) Dot Product:

Functions

f32_t tpt_lse_dprod_f32 (const f32_t *aInDataA, const f32_t *aInDataB, uint32_t aCount, f32_t *aBuffer)
 Dot product with Log-Sum-Exp of the floating-point vector. More...
 
f64_t tpt_lse_dprod_f64 (const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount, f64_t *aBuffer)
 Dot product with Log-Sum-Exp of the floating-point vector. More...
 

Detailed Description

The function implements the naive Gaussian Bayes estimator.

TPT DSP library only supports the naive GaussianBayesian predictor function for floating-point data.

Function Documentation

◆ tpt_lse_dprod_f32()

f32_t tpt_lse_dprod_f32 ( const f32_t aInDataA,
const f32_t aInDataB,
uint32_t  aCount,
f32_t aBuffer 
)

Dot product with Log-Sum-Exp of the floating-point vector.

Parameters
[in]aInDataApointer of the first input vector
[in]aInDataBpointer of the second input vector
[in]aCountsize of elements in a vector
[in]aBufferpointer of the temporary vector
Returns
f32_t

◆ tpt_lse_dprod_f64()

f64_t tpt_lse_dprod_f64 ( const f64_t aInDataA,
const f64_t aInDataB,
uint32_t  aCount,
f64_t aBuffer 
)

Dot product with Log-Sum-Exp of the floating-point vector.

Parameters
[in]aInDataApointer of the first input vector
[in]aInDataBpointer of the second input vector
[in]aCountsize of elements in a vector
[in]aBufferpointer of the temporary vector
Returns
f64_t