LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
f32_t | tpt_entropy_f32 (const f32_t *aIndata, uint32_t aCount) |
Entropy of the floating-potint vector. More... | |
f64_t | tpt_entropy_f64 (const f64_t *aIndata, uint32_t aCount) |
Entropy of the floating-potint vector. More... | |
The entropy function computes the entropy of a vector. The behavior can be defined as follows:
TPT DSP library only supports the entropy function for floating-point data.
Entropy of the floating-potint vector.
[in] | aIndata | points to the input vector. |
[in] | aCount | size of the vectors. |
E = -sum (P .* ln (P))