circular

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer interface {
	Enqueue(elems ...float64)
	Length() int
	Retrieve(buf []float64) error
}

* A circular buffer.

func CreateBuffer

func CreateBuffer(size int) Buffer

* Creates a circular buffer of a certain size.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL