Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2017 Changes in this version + type Sample struct + Delta float64 + Value float64 + Width float64 + type Samples []Sample + func (a Samples) Len() int + func (a Samples) Less(i, j int) bool + func (a Samples) Swap(i, j int) + type Stream struct + func NewHighBiased(epsilon float64) *Stream + func NewLowBiased(epsilon float64) *Stream + func NewTargeted(targets map[float64]float64) *Stream + func (s *Stream) Count() int + func (s *Stream) Insert(v float64) + func (s *Stream) Merge(samples Samples) + func (s *Stream) Query(q float64) float64 + func (s *Stream) Reset() + func (s *Stream) Samples() Samples