Barycenter of weighted vectors
◆ riscv_barycenter_f16()
| RISCV_DSP_ATTRIBUTE void riscv_barycenter_f16 |
( |
const float16_t * |
in, |
|
|
const float16_t * |
weights, |
|
|
float16_t * |
out, |
|
|
uint32_t |
nbVectors, |
|
|
uint32_t |
vecDim |
|
) |
| |
Barycenter.
- Parameters
-
| [in] | *in | List of vectors |
| [in] | *weights | Weights of the vectors |
| [out] | *out | Barycenter |
| [in] | nbVectors | Number of vectors |
| [in] | vecDim | Dimension of space (vector dimension) |
◆ riscv_barycenter_f32()
| RISCV_DSP_ATTRIBUTE void riscv_barycenter_f32 |
( |
const float32_t * |
in, |
|
|
const float32_t * |
weights, |
|
|
float32_t * |
out, |
|
|
uint32_t |
nbVectors, |
|
|
uint32_t |
vecDim |
|
) |
| |
Barycenter.
- Parameters
-
| [in] | *in | List of vectors |
| [in] | *weights | Weights of the vectors |
| [out] | *out | Barycenter |
| [in] | nbVectors | Number of vectors |
| [in] | vecDim | Dimension of space (vector dimension) |