Adds the items and counts in other
to the counts here.
Adds the items and counts in other
to the counts here.
Increment the count of object T by the specified value.
Increment the count of object T by the specified value.
Increment the count of object T by 1.
Increment the count of object T by 1.
Gets the count of the provided object.
Gets the count of the provided object.
Iterates over all the objects and their counts.
Iterates over all the objects and their counts.
Gets the median absolute deviation.
Create counts such that they are ordered.
Create counts such that they are ordered.
Returns the mean as a [Double], or zero if there are no counts.
Returns the mean and standar deviation as a [(Double, Double)], or zero for each if there are no counts.
Returns the median key as a [Double], or zero there are no counts.
Returns the key with the greatest count (mode of the distribution), or zero there are no counts.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Returns the standard deviation as a [Double], or zero if there are no counts.
Gets the number of counts stored in this counter (sum over all count).
Gets the number of counts stored in this counter (sum over all count).
Gets sum of values stored in this counter (sum over all (count * value)).
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(numericCounter: MonadOps[(T, Long)]).filter(p)
(numericCounter: MonadOps[(T, Long)]).flatMap(f)
(numericCounter: MonadOps[(T, Long)]).map(f)
(numericCounter: MonadOps[(T, Long)]).withFilter(p)
Super-simple class for counting occurrences of any [Numeric]. Will return zero for any item that has not been counted yet. Implements some useful methods to compute statistics when the objects being counted are numeric types.