Skip to main content

centroid

Function centroid 

Source
pub fn centroid(rows: &[Vec<f32>]) -> Vec<f32>
Expand description

Mean of a set of vectors (centroid). Empty input → empty vector.