CMSIS-DSP  
CMSIS DSP Software Library
Weighted Sum

Functions

float16_t arm_weighted_sum_f16 (const float16_t *in, const float16_t *weigths, uint32_t blockSize)
 Weighted sum. More...
 
float32_t arm_weighted_sum_f32 (const float32_t *in, const float32_t *weigths, uint32_t blockSize)
 Weighted sum. More...
 

Description

Weighted sum of values

Function Documentation

◆ arm_weighted_sum_f16()

float16_t arm_weighted_sum_f16 ( const float16_t *  in,
const float16_t *  weigths,
uint32_t  blockSize 
)
Parameters
[in]*inArray of input values.
[in]*weigthsWeights
[in]blockSizeNumber of samples in the input array.
Returns
Weighted sum

◆ arm_weighted_sum_f32()

float32_t arm_weighted_sum_f32 ( const float32_t in,
const float32_t weigths,
uint32_t  blockSize 
)
Parameters
[in]*inArray of input values.
[in]*weigthsWeights
[in]blockSizeNumber of samples in the input array.
Returns
Weighted sum