Skip to main content

wma

Function wma 

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

Linear weighted mean of each complete window, weights 1..=period, newest heaviest.