Registry / utility / vividcortex-ewma-v1

vividcortex-ewma-v1

JSON →
library1.1.1gogounverified

Package ewma implements exponentially weighted moving averages.

go get gopkg.in/VividCortex/ewma.v1
INSTALL
IMPORT
SIG · VIVIDCORTEX-EWMA-V
V
vividcortex-ewma-v1
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ewma
✓ gopkg.in/VividCortex/ewma.v1

Creates an EWMA, adds values, and prints the current average.

package main import ( "fmt" "gopkg.in/VividCortex/ewma.v1" ) func main() { sma := ewma.NewMovingAverage() sma.Add(5.0) sma.Add(10.0) fmt.Println(sma.Value()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
vividcortex-ewma-v1 — go get vividcortex-ewma-v1 · libregistry