CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches
Cityblock (Manhattan) distance

Functions

float16_t arm_cityblock_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
 Cityblock (Manhattan) distance between two vectors.
 
float32_t arm_cityblock_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Cityblock (Manhattan) distance between two vectors.
 
float64_t arm_cityblock_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
 Cityblock (Manhattan) distance between two vectors.
 

Description

Cityblock (Manhattan) distance

Function Documentation

◆ arm_cityblock_distance_f16()

float16_t arm_cityblock_distance_f16 ( const float16_t *  pA,
const float16_t *  pB,
uint32_t  blockSize 
)

Cityblock (Manhattan) distance between two vectors.

Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance

◆ arm_cityblock_distance_f32()

float32_t arm_cityblock_distance_f32 ( const float32_t pA,
const float32_t pB,
uint32_t  blockSize 
)

Cityblock (Manhattan) distance between two vectors.

Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance

◆ arm_cityblock_distance_f64()

float64_t arm_cityblock_distance_f64 ( const float64_t pA,
const float64_t pB,
uint32_t  blockSize 
)

Cityblock (Manhattan) distance between two vectors.

Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance