Minkowski distance
- RISCV_DSP_ATTRIBUTE float16_t riscv_minkowski_distance_f16 (const float16_t *pA, const float16_t *pB, int32_t order, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE float32_t riscv_minkowski_distance_f32 (const float32_t *pA, const float32_t *pB, int32_t order, uint32_t blockSize)
- group Minkowski
Minkowski distance.
Functions
- RISCV_DSP_ATTRIBUTE float16_t riscv_minkowski_distance_f16 (const float16_t *pA, const float16_t *pB, int32_t order, uint32_t blockSize)
Minkowski distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
order – [in] Distance order
blockSize – [in] Number of samples
- Returns
distance
- RISCV_DSP_ATTRIBUTE float32_t riscv_minkowski_distance_f32 (const float32_t *pA, const float32_t *pB, int32_t order, uint32_t blockSize)
Minkowski distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
order – [in] Distance order
blockSize – [in] Number of samples
- Returns
distance