Searched refs:geometric_mean (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_statistics.py | 2137 geometric_mean = statistics.geometric_mean 2138 self.assertAlmostEqual(geometric_mean([54, 24, 36]), 36.0) 2139 self.assertAlmostEqual(geometric_mean([4.0, 9.0]), 6.0) 2140 self.assertAlmostEqual(geometric_mean([17.625]), 17.625) 2155 gm_float = geometric_mean(rng) 2159 geometric_mean = statistics.geometric_mean 2172 actual_mean = geometric_mean(data) 2177 geometric_mean = statistics.geometric_mean 2181 big_gm = geometric_mean([54.0 * large, 24.0 * large, 36.0 * large]) 2187 small_gm = geometric_mean([54.0 * small, 24.0 * small, 36.0 * small]) [all …]
|
/external/autotest/client/tests/iozone/ |
D | postprocessing.py | 43 def geometric_mean(values): function 134 average = geometric_mean([line[i] for line in results]) / 1024.0
|
/external/python/cpython3/Lib/ |
D | statistics.py | 348 def geometric_mean(data): function
|
/external/python/cpython3/Doc/library/ |
D | statistics.rst | 47 :func:`geometric_mean` Geometric mean of data. 136 .. function:: geometric_mean(data) 153 >>> round(geometric_mean([54, 24, 36]), 1)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 231 Add geometric_mean and harmonic_mean to statistics module.
|
D | 3.6.0b2.rst | 277 remove statistics.geometric_mean and defer until 3.7.
|
D | 3.8.0a4.rst | 520 Add statistics.geometric_mean().
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1193 Added :func:`statistics.geometric_mean()`
|