Return a copy of this histogram.
Return a copy of this histogram.
Note the occurance of 'item.
Note the occurance of 'item.
The optional parameter 'count' allows histograms to be built more efficiently. Negative counts can be used to remove a particular number of occurances of 'item'.
Return 'num' evenly spaced Doubles from 0.
Return 'num' evenly spaced Doubles from 0.0 to 1.0.
Return the number of occurances for 'item'.
Return the number of occurances for 'item'.
Return the largest item seen.
Return the largest item seen.
Return the smallest and largest items seen as a tuple.
Return the smallest and largest items seen as a tuple.
Return the smallest item seen.
Return the smallest item seen.
Return the total number of occurances for all items.
Return the total number of occurances for all items.
This is a heuristic used by getQuantileBreaks, which mutates the histogram.
This is a heuristic used by getQuantileBreaks, which mutates the histogram.
Forget all occurances of 'item'.
Forget all occurances of 'item'.
(mapHistogram: StringAdd).self
(mapHistogram: StringFormat).self
(mapHistogram: ArrowAssoc[MapHistogram]).x
(Since version 2.10.0) Use leftOfArrow
instead
(mapHistogram: Ensuring[MapHistogram]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Data object representing a histogram that uses a Map (as in hashtable map/dictionary) for internal storage.