CMSIS-DSP  
CMSIS DSP Software Library
Euclidean distance

Functions

float16_t arm_euclidean_distance_f16 (const float16_t *pA, const float16_t *pB, uint32_t blockSize)
 Euclidean distance between two vectors. More...
 
float32_t arm_euclidean_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Euclidean distance between two vectors. More...
 
float64_t arm_euclidean_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
 Euclidean distance between two vectors. More...
 

Description

Euclidean distance

Function Documentation

◆ arm_euclidean_distance_f16()

float16_t arm_euclidean_distance_f16 ( const float16_t *  pA,
const float16_t *  pB,
uint32_t  blockSize 
)
Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance

◆ arm_euclidean_distance_f32()

float32_t arm_euclidean_distance_f32 ( const float32_t pA,
const float32_t pB,
uint32_t  blockSize 
)
Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance

◆ arm_euclidean_distance_f64()

float64_t arm_euclidean_distance_f64 ( const float64_t pA,
const float64_t pB,
uint32_t  blockSize 
)
Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]blockSizevector length
Returns
distance