godoc fix for EwmaSpeed
Vladimir Bauer
7 years ago
| 25 | 25 |
//
|
| 26 | 26 |
// `style` one of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS]
|
| 27 | 27 |
//
|
| 28 | |
// `age` is the previous N samples to average over.
|
|
28 |
// `age` ewma age
|
| 29 | 29 |
//
|
| 30 | 30 |
// `wcc` optional WC config
|
| 31 | 31 |
func EwmaETA(style TimeStyle, age float64, wcc ...WC) Decorator {
|
| 125 | 125 |
//
|
| 126 | 126 |
// `unitFormat` printf compatible verb for value, like "%f" or "%d"
|
| 127 | 127 |
//
|
| 128 | |
// `average` MovingAverage implementation
|
|
128 |
// `age` ewma age
|
| 129 | 129 |
//
|
| 130 | 130 |
// `wcc` optional WC config
|
| 131 | 131 |
//
|