stats

package
v0.0.0-...-3ee71c1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Percentile

func Percentile(values []int, perc int) (o int)

Types

type Stats

type Stats struct {
	Values []int
	// contains filtered or unexported fields
}

func (*Stats) Add

func (stats *Stats) Add(i int)

func (*Stats) Avg

func (stats *Stats) Avg() int

func (*Stats) Len

func (stats *Stats) Len() int

func (*Stats) Max

func (stats *Stats) Max() int

func (*Stats) Median

func (stats *Stats) Median() int

func (*Stats) Min

func (stats *Stats) Min() int

func (*Stats) Perc

func (stats *Stats) Perc(perc int) int

func (*Stats) Reset

func (stats *Stats) Reset()

func (*Stats) Sort

func (stats *Stats) Sort()

func (*Stats) String

func (stats *Stats) String() string

func (*Stats) Sum

func (stats *Stats) Sum() int

Jump to

Keyboard shortcuts

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