- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 198 for Mean (0.02 seconds)
-
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
for (int i = 1; i < values.length; i++) { mean = mean + (values[i] - mean) / (i + 1); } return mean; } }; abstract double mean(double[] values); } static class MeanAndVariance { private final double mean; private final double variance; MeanAndVariance(double mean, double variance) { this.mean = mean; this.variance = variance; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
twoValuesAccumulator.xStats().mean(), twoValuesAccumulator.yStats().mean(), twoValuesAccumulator.xStats().populationVariance(), twoValuesAccumulator.populationCovariance()); assertDiagonalLinearTransformation( twoValuesAccumulatorByAddAllPartitionedPairedStats.leastSquaresFit(), twoValuesAccumulatorByAddAllPartitionedPairedStats.xStats().mean(),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 23.4K bytes - Click Count (0) -
guava/src/com/google/common/math/Stats.java
mean += (value - mean) / (index + 1); } else { mean = calculateNewMeanNonFinite(mean, value); } } return mean; } /** * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the * values. The count must be non-zero. * * <p>The definition of the mean is the same as {@link Stats#mean}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
} } else { count++; if (isFinite(value) && isFinite(mean)) { // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16) double delta = value - mean; mean += delta / count; sumOfSquaresOfDeltas += delta * (value - mean); } else { mean = calculateNewMeanNonFinite(mean, value); sumOfSquaresOfDeltas = NaN; } min = Math.min(min, value);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
accumulatorByAddAllStats.addAll(Stats.of(value)); } double mean = accumulator.mean(); double meanByAddAllStats = accumulatorByAddAllStats.mean(); if (values.hasAnyNaN()) { assertWithMessage("mean of %s", values).that(mean).isNaN(); assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 36.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
} @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated method public void testMean_intVarargs() { assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75); assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0); } @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
twoValuesAccumulator.xStats().mean(), twoValuesAccumulator.yStats().mean(), twoValuesAccumulator.xStats().populationVariance(), twoValuesAccumulator.populationCovariance()); assertDiagonalLinearTransformation( twoValuesAccumulatorByAddAllPartitionedPairedStats.leastSquaresFit(), twoValuesAccumulatorByAddAllPartitionedPairedStats.xStats().mean(),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 23.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated method public void testMean_intVarargs() { assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75); assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0); } @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 10.4K bytes - Click Count (0) -
LICENSE
1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and allCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Fri Apr 18 13:54:00 GMT 2025 - 11.1K bytes - Click Count (0)