Ewma constructor

Ewma({
  1. double alpha = 0.12,
})

Creates an EWMA with optional smoothing factor.

Implementation

Ewma({this.alpha = 0.12});