CMSIS-DSP  
CMSIS DSP Software Library
Minkowski distance

Functions

float16_t arm_minkowski_distance_f16 (const float16_t *pA, const float16_t *pB, int32_t order, uint32_t blockSize)
 Minkowski distance between two vectors. More...
 
float32_t arm_minkowski_distance_f32 (const float32_t *pA, const float32_t *pB, int32_t order, uint32_t blockSize)
 Minkowski distance between two vectors. More...
 

Description

Minkowski distance

Function Documentation

◆ arm_minkowski_distance_f16()

float16_t arm_minkowski_distance_f16 ( const float16_t *  pA,
const float16_t *  pB,
int32_t  order,
uint32_t  blockSize 
)
Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]orderDistance order
[in]blockSizeNumber of samples
Returns
distance

◆ arm_minkowski_distance_f32()

float32_t arm_minkowski_distance_f32 ( const float32_t pA,
const float32_t pB,
int32_t  order,
uint32_t  blockSize 
)
Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]orderDistance order
[in]blockSizeNumber of samples
Returns
distance