LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Collaboration diagram for Barycenter:

Functions

void tpt_barycenter_f32 (f32_t *aOutData, const f32_t *aInData, const f32_t *aWeights, uint32_t aNumofvec, uint32_t aDimofvec)
 Barycenter of the single-precision floating-point type. More...
 

Detailed Description

The function calculates the barycenter of the input vector. TPT DSP library only supports the barycenter function for single-precision floating-point data.

Function Documentation

◆ tpt_barycenter_f32()

void tpt_barycenter_f32 ( f32_t aOutData,
const f32_t aInData,
const f32_t aWeights,
uint32_t  aNumofvec,
uint32_t  aDimofvec 
)

Barycenter of the single-precision floating-point type.

Parameters
[out]aOutDatapointer of the output vector
[in]aInDatapointer of the input vector
[in]aWeightspointer of the weighted vector
[in]aNumofvecnumber of input vectors
[in]aDimofvecdimension of vector space