Documentation ¶ Index ¶ type FIFO func NewFIFO(maxSize int) FIFO func (f *FIFO) Average() float32 func (f *FIFO) First() float32 func (f *FIFO) Last() float32 func (f *FIFO) Push(val float32) func (f *FIFO) Size() int func (f *FIFO) Sum() float32 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type FIFO ¶ type FIFO struct { // contains filtered or unexported fields } func NewFIFO ¶ func NewFIFO(maxSize int) FIFO func (*FIFO) Average ¶ func (f *FIFO) Average() float32 func (*FIFO) First ¶ func (f *FIFO) First() float32 func (*FIFO) Last ¶ func (f *FIFO) Last() float32 func (*FIFO) Push ¶ func (f *FIFO) Push(val float32) func (*FIFO) Size ¶ func (f *FIFO) Size() int func (*FIFO) Sum ¶ func (f *FIFO) Sum() float32 Source Files ¶ View all Source files fifo.go Click to show internal directories. Click to hide internal directories.