CMSIS-DSP  
CMSIS DSP Software Library
distance_functions.h File Reference

Enumerations

enum  arm_dtw_window {
  ARM_DTW_SAKOE_CHIBA_WINDOW = 1 ,
  ARM_DTW_SLANTED_BAND_WINDOW = 3
}
 

Functions

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...
 
float32_t arm_braycurtis_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Bray-Curtis distance between two vectors. More...
 
float32_t arm_canberra_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Canberra distance between two vectors. More...
 
float32_t arm_chebyshev_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Chebyshev distance between two vectors. More...
 
float64_t arm_chebyshev_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
 Chebyshev distance between two vectors. More...
 
float32_t arm_cityblock_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Cityblock (Manhattan) distance between two vectors. More...
 
float64_t arm_cityblock_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
 Cityblock (Manhattan) distance between two vectors. More...
 
float32_t arm_correlation_distance_f32 (float32_t *pA, float32_t *pB, uint32_t blockSize)
 Correlation distance between two vectors. More...
 
float32_t arm_cosine_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Cosine distance between two vectors. More...
 
float64_t arm_cosine_distance_f64 (const float64_t *pA, const float64_t *pB, uint32_t blockSize)
 Cosine distance between two vectors. More...
 
float32_t arm_jensenshannon_distance_f32 (const float32_t *pA, const float32_t *pB, uint32_t blockSize)
 Jensen-Shannon 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...
 
float32_t arm_dice_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Dice distance between two vectors. More...
 
float32_t arm_hamming_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Hamming distance between two vectors. More...
 
float32_t arm_jaccard_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Jaccard distance between two vectors. More...
 
float32_t arm_kulsinski_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Kulsinski distance between two vectors. More...
 
float32_t arm_rogerstanimoto_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Roger Stanimoto distance between two vectors. More...
 
float32_t arm_russellrao_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Russell-Rao distance between two vectors. More...
 
float32_t arm_sokalmichener_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Sokal-Michener distance between two vectors. More...
 
float32_t arm_sokalsneath_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Sokal-Sneath distance between two vectors. More...
 
float32_t arm_yule_distance (const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools)
 Yule distance between two vectors. More...
 
arm_status arm_dtw_init_window_q7 (const arm_dtw_window windowType, const int32_t windowSize, arm_matrix_instance_q7 *pWindow)
 Window for dynamic time warping computation. More...
 
arm_status arm_dtw_distance_f32 (const arm_matrix_instance_f32 *pDistance, const arm_matrix_instance_q7 *pWindow, arm_matrix_instance_f32 *pDTW, float32_t *distance)
 Dynamic Time Warping distance. More...
 
void arm_dtw_path_f32 (const arm_matrix_instance_f32 *pDTW, int16_t *pPath, uint32_t *pathLength)
 Mapping between query and template. More...
 

Enumeration Type Documentation

◆ arm_dtw_window

Enumerator
ARM_DTW_SAKOE_CHIBA_WINDOW 
ARM_DTW_SLANTED_BAND_WINDOW