module Math::Mean
Direct including types
Defined in:
lib/math/mean.crInstance Method Summary
-
#geometric_mean
The geometric mean of the list.
-
#harmonic_mean
The harmonic mean of the list.
-
#mean
Standard arithmetic mean TODO: Handle big Float/Int
-
#quadratic_mean
The root square mean of the list.
Instance Method Detail
def geometric_mean
#
The geometric mean of the list. For [a, b], a/c = c/b; c**2 = a*b
TODO Handle big Float/Int