LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
Log-Sum-Exp (LSE)
Collaboration diagram for Log-Sum-Exp (LSE):

Functions

f32_t tpt_lse_f32 (const f32_t *aInData, uint32_t aCount)
 Log-Sum-Exp of the floating-point vector.
f64_t tpt_lse_f64 (const f64_t *aInData, uint32_t aCount)
 Log-Sum-Exp of the floating-point vector.

Detailed Description

The LSE function computes the logarithm of the sum of the exponentials of a vector. The behavior can be defined as follows:

TPT DSP library only supports the LSE function for floating-point data.

Function Documentation

◆ tpt_lse_f32()

f32_t tpt_lse_f32 ( const f32_t * aInData,
uint32_t aCount )

Log-Sum-Exp of the floating-point vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
f32_t

Log-Sum-Exp of the floating-point vector.

Parameters
[in]aInDatapoints to the input vector
[in]aCountnumber of samples in input vector
Returns
Computation of the LogSumExp

◆ tpt_lse_f64()

f64_t tpt_lse_f64 ( const f64_t * aInData,
uint32_t aCount )

Log-Sum-Exp of the floating-point vector.

Parameters
[in]aInDatapointer of the input vector
[in]aCountnumber of elements in a vector
Returns
f64_t