Function euclidean_distance
Source pub fn euclidean_distance(a: &[f32], b: &[f32]) -> f32
Expand description
Compute Euclidean (L2) distance between two vectors
§Arguments
a - First vector
b - Second vector (must be same length as a)
§Returns
Euclidean distance, or 0.0 if vectors are empty or different lengths