MCPcopy Create free account
hub / github.com/antlr/codebuff / mean

Method mean

output/java_guava/1.4.16/StatsAccumulator.java:220–223  ·  view source on GitHub ↗

Returns the arithmetic mean of the values. The count must be non-zero. If these values are a sample drawn from a population, this is also an unbiased estimator of the arithmetic mean of the population. Non-finite values If

()

Source from the content-addressed store, hash-verified

218
219
220 public double mean() {
221 checkState(count != 0);
222 return mean;
223 }
224
225 /**
226 * Returns the sum of the values.

Callers 1

addAllMethod · 0.45

Calls 1

checkStateMethod · 0.45

Tested by

no test coverage detected