Skip to main content

normalise_by_sum

Function normalise_by_sum 

Source
pub fn normalise_by_sum(data: &[f64]) -> Vec<f64>
Expand description

Normalise: divide each element by the total sum.