Skip to main content

rolling_std

Function rolling_std 

Source
pub fn rolling_std(values: &[f64], window: usize) -> Vec<f64>
Expand description

Rolling standard deviation using Welford’s online algorithm.

Outputs NAN for the first window - 1 rows.