![]() |
LIBDSP Version 4.1.9
LIBDSP Software Library
|

Functions | |
| f32_t | tpt_entropy_f32 (const f32_t *aIndata, uint32_t aCount) |
| Entropy of the floating-potint vector. | |
| f64_t | tpt_entropy_f64 (const f64_t *aIndata, uint32_t aCount) |
| Entropy of the floating-potint vector. | |
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))
Entropy of the floating-potint vector.
| [in] | aIndata | points to the input vector |
| [in] | aCount | number of samples in input vector |
Entropy of the floating-potint vector.
| [in] | aIndata | points to the input vector. |
| [in] | aCount | size of the vectors. |
E = -sum (P .* ln (P))
Entropy of the floating-potint vector.
| [in] | pSrcA | Array of input values. |
| [in] | blockSize | Number of samples in the input array. |