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

Functions

float16_t arm_weighted_average_f16 (const float16_t *in, const float16_t *weigths, uint32_t blockSize)
 Weighted average.
 
float32_t arm_weighted_average_f32 (const float32_t *in, const float32_t *weigths, uint32_t blockSize)
 Weighted average.
 

Description

Weighted average of values

Function Documentation

◆ arm_weighted_average_f16()

float16_t arm_weighted_average_f16 ( const float16_t *  in,
const float16_t *  weigths,
uint32_t  blockSize 
)

Weighted average.

Parameters
[in]*inArray of input values.
[in]*weigthsWeights
[in]blockSizeNumber of samples in the input array.
Returns
Weighted average

◆ arm_weighted_average_f32()

float32_t arm_weighted_average_f32 ( const float32_t in,
const float32_t weigths,
uint32_t  blockSize 
)

Weighted average.

Parameters
[in]*inArray of input values.
[in]*weigthsWeights
[in]blockSizeNumber of samples in the input array.
Returns
Weighted average