Home
last modified time | relevance | path

Searched refs:MeanAndVariance (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/math/
DStatsBenchmark.java73 static class MeanAndVariance { class in StatsBenchmark
77 MeanAndVariance(double mean, double variance) { in MeanAndVariance() method in StatsBenchmark.MeanAndVariance
91 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance()
92 return new MeanAndVariance(meanAlgorithm.mean(values), 0.0); in variance()
97 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance()
104 return new MeanAndVariance(mean, sumOfSquaresOfDeltas / values.length); in variance()
109 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance()
121 return new MeanAndVariance(mean, sumOfSquaresOfDeltas / values.length); in variance()
126 MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { in variance()
137 return new MeanAndVariance(mean, s / values.length); in variance()
[all …]