CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Functions

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

Description

Computes the entropy of a distribution

Function Documentation

◆ arm_entropy_f16()

float16_t arm_entropy_f16 ( const float16_t *  pSrcA,
uint32_t  blockSize 
)

Entropy.

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 
)

Entropy.

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 
)

Entropy.

Parameters
[in]pSrcAArray of input values.
[in]blockSizeNumber of samples in the input array.
Returns
Entropy -Sum(p ln p)