util

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatBuffer

type FloatBuffer struct {
	// contains filtered or unexported fields
}

Computes min, max, mean, and stdev for a given float

func NewFloatBuffer

func NewFloatBuffer(n int) *FloatBuffer

func NewFloatBufferNoSD

func NewFloatBufferNoSD(n int) *FloatBuffer

func (*FloatBuffer) Add

func (b *FloatBuffer) Add(e float64, i int)

func (*FloatBuffer) Flush

func (b *FloatBuffer) Flush() agg.FloatStat

type IntBuffer

type IntBuffer struct {
	// contains filtered or unexported fields
}

func NewIntBuffer

func NewIntBuffer(n int) *IntBuffer

func (*IntBuffer) Add

func (b *IntBuffer) Add(val int)

func (*IntBuffer) Flush

func (b *IntBuffer) Flush() agg.IntStat

Jump to

Keyboard shortcuts

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