Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MovingAverage ¶
type MovingAverage struct { Window int // contains filtered or unexported fields }
func NewMovingAverage ¶
func NewMovingAverage(window int) *MovingAverage
func (*MovingAverage) Add ¶
func (ma *MovingAverage) Add(val float64)
func (*MovingAverage) Avg ¶
func (ma *MovingAverage) Avg() float64
type StringWriter ¶
type StringWriter struct {
// contains filtered or unexported fields
}
func NewStringWriter ¶
func NewStringWriter() *StringWriter
func (*StringWriter) String ¶
func (w *StringWriter) String() string
Click to show internal directories.
Click to hide internal directories.