CMSIS-DSP  
CMSIS DSP Software Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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
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