Skip to main content

moving_average

Function moving_average 

Source
pub fn moving_average(data: &[f64], window: usize) -> Vec<f64>