pub fn centroid(rows: &[Vec<f32>]) -> Vec<f32>
Mean of a set of vectors (centroid). Empty input → empty vector.