Skip to main content

gini_coefficient

Function gini_coefficient 

Source
pub fn gini_coefficient(sorted: &[usize]) -> f64
Expand description

Return the Gini coefficient for an ascending-sorted integer slice.