LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
f32_t | tpt_relative_entropy_f32 (const f32_t *aInDataA, const f32_t *aInDataB, uint32_t aCount) |
Relative Entropy of the floating-potint vector. More... | |
f64_t | tpt_relative_entropy_f64 (const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount) |
Relative Entropy of the floating-potint vector. More... | |
The relative entropy function computes the entropy of two vectors and is also called the Kullback–Leibler divergence (DKL). The behavior can be defined as follows:
TPT DSP library only supports the relative entropy function for floating-point data.
Relative Entropy of the floating-potint vector.
[in] | aInDataA | points to the first input vector. |
[in] | aInDataB | points to the second input vector. |
[in] | aCount | size of the vectors. |