CMSIS-DSP  
CMSIS DSP Software Library

Functions

float16_t arm_entropy_f16 (const float16_t *pSrcA, uint32_t blockSize)
 Entropy. More...
 
float32_t arm_entropy_f32 (const float32_t *pSrcA, uint32_t blockSize)
 Entropy. More...
 
float64_t arm_entropy_f64 (const float64_t *pSrcA, uint32_t blockSize)
 Entropy. More...
 

Description

Computes the entropy of a distribution

Function Documentation

◆ arm_entropy_f16()

float16_t arm_entropy_f16 ( const float16_t *  pSrcA,
uint32_t  blockSize 
)
Parameters
[in]pSrcAArray of input values.
[in]blockSizeNumber of samples in the input array.
Returns
Entropy -Sum(p ln p)

◆ arm_entropy_f32()

float32_t arm_entropy_f32 ( const float32_t pSrcA,
uint32_t  blockSize 
)
Parameters
[in]pSrcAArray of input values.
[in]blockSizeNumber of samples in the input array.
Returns
Entropy -Sum(p ln p)

◆ arm_entropy_f64()

float64_t arm_entropy_f64 ( const float64_t pSrcA,
uint32_t  blockSize 
)
Parameters
[in]pSrcAArray of input values.
[in]blockSizeNumber of samples in the input array.
Returns
Entropy -Sum(p ln p)