Chebyshev distance
- RISCV_DSP_ATTRIBUTE float16_t riscv_chebyshev_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE float32_t riscv_chebyshev_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE float64_t riscv_chebyshev_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
- group Chebyshev
Chebyshev distance.
Functions
- RISCV_DSP_ATTRIBUTE float16_t riscv_chebyshev_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
Chebyshev 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_chebyshev_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
Chebyshev distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
blockSize – [in] vector length
- Returns
distance
- RISCV_DSP_ATTRIBUTE float64_t riscv_chebyshev_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
Chebyshev distance between two vectors.
- Parameters
pA – [in] First vector
pB – [in] Second vector
blockSize – [in] vector length
- Returns
distance