Skip to main content

ewma_update

Function ewma_update 

Source
pub fn ewma_update(
    previous: f64,
    sample: f64,
    alpha: f64,
) -> Result<f64, PrimitiveError>
Expand description

EWMA update with generic gain alpha.