Skip to main content

moving_average

Function moving_average 

Source
pub fn moving_average(
    col: &[f64],
    window: usize,
    out: &mut [f64],
) -> Result<(), DataError>
Expand description

Simple moving-average smoother (odd window).

ยงErrors

Even/zero window, shape mismatch, or non-finite input.