NMSIS-DSP
Version 1.3.1
NMSIS DSP Software Library
|
Cityblock (Manhattan) distance. More...
Functions | |
RISCV_DSP_ATTRIBUTE float16_t | riscv_cityblock_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize) |
Cityblock (Manhattan) distance between two vectors. More... | |
RISCV_DSP_ATTRIBUTE float32_t | riscv_cityblock_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize) |
Cityblock (Manhattan) distance between two vectors. More... | |
RISCV_DSP_ATTRIBUTE float64_t | riscv_cityblock_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize) |
Cityblock (Manhattan) distance between two vectors. More... | |
Cityblock (Manhattan) distance.
RISCV_DSP_ATTRIBUTE float16_t riscv_cityblock_distance_f16 | ( | const float16_t * | pA, |
const float16_t * | pB, | ||
uint32_t | blockSize | ||
) |
Cityblock (Manhattan) distance between two vectors.
[in] | pA | First vector |
[in] | pB | Second vector |
[in] | blockSize | vector length |
RISCV_DSP_ATTRIBUTE float32_t riscv_cityblock_distance_f32 | ( | const float32_t * | pA, |
const float32_t * | pB, | ||
uint32_t | blockSize | ||
) |
Cityblock (Manhattan) distance between two vectors.
[in] | pA | First vector |
[in] | pB | Second vector |
[in] | blockSize | vector length |