NMSIS-DSP  Version 1.3.1
NMSIS DSP Software Library
Minkowski distance

Minkowski distance. More...

Functions

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

Detailed Description

Minkowski distance.

Function Documentation

◆ riscv_minkowski_distance_f16()

RISCV_DSP_ATTRIBUTE float16_t riscv_minkowski_distance_f16 ( const float16_t *  pA,
const float16_t *  pB,
int32_t  order,
uint32_t  blockSize 
)

Minkowski distance between two vectors.

Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]orderDistance order
[in]blockSizeNumber of samples
Returns
distance

◆ riscv_minkowski_distance_f32()

RISCV_DSP_ATTRIBUTE float32_t riscv_minkowski_distance_f32 ( const float32_t pA,
const float32_t pB,
int32_t  order,
uint32_t  blockSize 
)

Minkowski distance between two vectors.

Parameters
[in]pAFirst vector
[in]pBSecond vector
[in]orderDistance order
[in]blockSizeNumber of samples
Returns
distance