Skip to content

Multivariate MSM

Source: src/msm_multi.rs

Internal Functions

These are internal Rust functions not directly callable from Python.

manhattan_distance

Compute Manhattan distance between two vectors.

squared_distance

Compute squared Euclidean distance between two vectors.

cost_dependent

Compute the dependent cost given three vectors.

msm_distance

Multivariate MSM distance using O(m) memory.