package
0.3.0
Repository: https://github.com/alexander-yu/stream.git
Documentation: pkg.go.dev

# Functions

Init sets a CoreWrapper up with a core for consuming.
MergeConfigs merges CoreConfig objects.
New instantiates a Moment struct.
NewCore instantiates a Core struct based on a provided config.
NewEWMA instantiates a EWMA struct.
NewEWMMoment instantiates a EWMMoment struct.
NewEWMStd instantiates an EWMStd struct.
NewGlobal instantiates a global Moment struct.
NewGlobalKurtosis instantiates a global Kurtosis struct.
NewGlobalMean instantiates a global Mean struct.
NewGlobalSkewness instantiates a global Skewness struct.
NewGlobalStd instantiates a global Std struct.
NewKurtosis instantiates a Kurtosis struct.
NewMean instantiates a Mean struct.
NewSkewness instantiates a Skewness struct.
NewStd instantiates an Std struct.

# Structs

Core is a struct that stores fundamental information for moments of a stream.
CoreConfig is the struct containing configuration options for instantiating a Core object.
EWMA is a metric that tracks the exponentially weighted moving average.
EWMMoment is a metric that tracks the kth exponentially weighted sample central moment.
EWMStd is a metric that tracks the exponentially weighted sample standard deviation.
Kurtosis is a metric that tracks the sample excess kurtosis.
Mean is a metric that tracks the mean.
Moment is a metric that tracks the kth sample central moment.
Skewness is a metric that tracks the adjusted Fisher-Pearson sample skewness.
Std is a metric that tracks the sample standard deviation.

# Interfaces

CoreWrapper is the interface for an entity that wraps around a Core for stats.
Metric is the interface for a metric that tracks the moment of a stream.

# Type aliases

SumsConfig is an alias for a map of ints to bools; this configures the sums that a Core object will track.