Skip to main content

ema

Function ema 

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

Exponential average with alpha 2 / (period + 1), seeded by the first finite value.