promql::functions::holt_winters

Function calc_trend_value

Source
fn calc_trend_value(i: usize, tf: f64, s0: f64, s1: f64, b: f64) -> f64