LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
Weighted Average
Collaboration diagram for Weighted Average:

Functions

f32_t tpt_weighted_average_f32 (const f32_t *in, const f32_t *weights, uint32_t blockSize)
 Weighted average.

Detailed Description

Function Documentation

◆ tpt_weighted_average_f32()

f32_t tpt_weighted_average_f32 ( const f32_t * in,
const f32_t * weights,
uint32_t blockSize )

Weighted average.

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