![]() |
LIBDSP Version 4.1.9
LIBDSP 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. | |
| f64_t | tpt_relative_entropy_f64 (const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount) |
| Relative Entropy of the floating-potint vector. | |
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. |
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 | number of samples in input vector |