class
Cryload::Histogram::Dense
- Cryload::Histogram::Dense
- Reference
- Object
Overview
Global aggregate. Dense buckets keep the merge and the percentile scan branch-free; one instance is ~18 KB.
Defined in:
cryload/histogram.crConstructors
Instance Method Summary
- #avg : Float64
- #count : Int64
- #empty? : Bool
-
#linear_bins(bin_count : Int32 = 11) : Array(Bin)
Rolls the logarithmic buckets up into
bin_countequal-width linear bins. - #m2 : Float64
- #max : Float64
- #maximum : Float64
- #mean : Float64
-
#merge(other : Sparse) : Nil
Chan et al.
- #min : Float64
- #minimum : Float64
- #percentile(percentile : Float64) : Float64
-
#stdev : Float64
Sample standard deviation.
- #sum : Float64
Constructor Detail
Instance Method Detail
Rolls the logarithmic buckets up into bin_count equal-width linear
bins.
Chan et al. parallel variance combination, so merging a batch is exact rather than an approximation of the streaming update.
def stdev : Float64
#
Sample standard deviation. v5 divided by n, which understates the spread on small runs.