These are from algebra.Monoid
Returns an instance of
T calculated by summing all instances in iter in one pass.
Returns an instance of
T calculated by summing all instances in iter in one pass. Returns None if
iter is empty, else Some[
T].
None if iter is empty, else an option value containing the summed
T
Override if there is a faster way to compute this sum than iter.reduceLeftOption using plus.
Given two streams of doubles (n, an) and (k, ak) of form (count, mean), calculates the mean of the combined stream.
Given two streams of doubles (n, an) and (k, ak) of form (count, mean), calculates the mean of the combined stream.
Uses a more stable online algorithm which should be suitable for large numbers of records similar to: http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm
we no longer use this, but we can't remove it due to binary compatibility
(Since version 0.13.8) Use Moments.getCombinedMeanDouble instead