Bray-Curtis distance
- RISCV_DSP_ATTRIBUTE float16_t riscv_braycurtis_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE float32_t riscv_braycurtis_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
- group braycurtis
Bray-Curtis distance between two vectors.
Functions
- RISCV_DSP_ATTRIBUTE float16_t riscv_braycurtis_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
Bray-Curtis distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
blockSize – [in] vector length
- Returns
distance
- RISCV_DSP_ATTRIBUTE float32_t riscv_braycurtis_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
Bray-Curtis distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
blockSize – [in] vector length
- Returns
distance