CMSIS-DSP  
CMSIS DSP Software Library

Functions

void arm_barycenter_f16 (const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors, uint32_t vecDim)
 Barycenter. More...
 
void arm_barycenter_f32 (const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors, uint32_t vecDim)
 Barycenter. More...
 

Description

Barycenter of weighted vectors

Function Documentation

◆ arm_barycenter_f16()

void arm_barycenter_f16 ( const float16_t *  in,
const float16_t *  weights,
float16_t *  out,
uint32_t  nbVectors,
uint32_t  vecDim 
)
Parameters
[in]*inList of vectors
[in]*weightsWeights of the vectors
[out]*outBarycenter
[in]nbVectorsNumber of vectors
[in]vecDimDimension of space (vector dimension)
Returns
None

◆ arm_barycenter_f32()

void arm_barycenter_f32 ( const float32_t in,
const float32_t weights,
float32_t out,
uint32_t  nbVectors,
uint32_t  vecDim 
)
Parameters
[in]*inList of vectors
[in]*weightsWeights of the vectors
[out]*outBarycenter
[in]nbVectorsNumber of vectors
[in]vecDimDimension of space (vector dimension)
Returns
None