Compute various kinds of mean values.
-
class
Compute arithmetic (weighted) mean of a set of values.
class
Compute the geometric (weighted) mean of a set of values.
class
Compute the harmonic (weighted) mean of a set of values.
Add values with weight 1.
Adds each value (obtained by calling the values
function on each object in a Collection) with a weight
(obtained by calling the weights
function on the same object from the Collection).
Adds each value with a weight obtained by calling the provided weights
function.
Adds each key value from a map weighted with the mapped to value.
AbstractMean.add(V value)
Add a value with weight 1.
AbstractMean.add(V[] values)
Add values with weight 1.
AbstractMean.add(V[] values,
W[] weights)
AbstractMean.add(V value,
W weight)
Adds a value with weight.
Adds a value with weight.