Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovingAverage ¶
type MovingAverage struct {
// contains filtered or unexported fields
}
func New ¶
func New(period int) *MovingAverage
func (*MovingAverage) Add ¶
func (avg *MovingAverage) Add(value float64)
func (*MovingAverage) MovingStandardDeviation ¶
func (avg *MovingAverage) MovingStandardDeviation() float64
func (*MovingAverage) SimpleMovingAverage ¶
func (avg *MovingAverage) SimpleMovingAverage() float64
Click to show internal directories.
Click to hide internal directories.