Skip to main content

mean

Function mean 

Source
pub fn mean(data: &[f32]) -> f32
Expand description

Arithmetic mean of all elements. Returns 0.0 for empty slices.