CMSIS-DSP  
CMSIS DSP Software Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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

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
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