LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
tpt_cityblock_distance_f64.c File Reference
#include "tpt_math.h"
Include dependency graph for tpt_cityblock_distance_f64.c:

Functions

f64_t tpt_cityblock_distance_f64 (const f64_t *aInDataA, const f64_t *aInDataB, uint32_t aCount)
 Cityblock (Manhattan) distance between two vectors. More...
 

Function Documentation

◆ tpt_cityblock_distance_f64()

f64_t tpt_cityblock_distance_f64 ( const f64_t aInDataA,
const f64_t aInDataB,
uint32_t  aCount 
)

Cityblock (Manhattan) distance between two vectors.

Parameters
[in]aInDataAFirst vector
[in]aInDataBSecond vector
[in]aCountvector length
Returns
distance