- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for StatsAccumulator (0.17 sec)
-
android/guava/src/com/google/common/math/StatsAccumulator.java
@SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams. public void addAll(DoubleStream values) { addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll)); } /** * Adds the given values to the dataset. The stream will be completely consumed by this method. * * @param values a series of values
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
private StatsAccumulator emptyAccumulator; private StatsAccumulator emptyAccumulatorByAddAllEmptyIterable; private StatsAccumulator emptyAccumulatorByAddAllEmptyStats; private StatsAccumulator oneValueAccumulator; private StatsAccumulator oneValueAccumulatorByAddAllEmptyStats; private StatsAccumulator twoValuesAccumulator; private StatsAccumulator twoValuesAccumulatorByAddAllStats;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
private StatsAccumulator emptyAccumulator; private StatsAccumulator emptyAccumulatorByAddAllEmptyIterable; private StatsAccumulator emptyAccumulatorByAddAllEmptyStats; private StatsAccumulator oneValueAccumulator; private StatsAccumulator oneValueAccumulatorByAddAllEmptyStats; private StatsAccumulator twoValuesAccumulator; private StatsAccumulator twoValuesAccumulatorByAddAllStats;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(values); return accumulator.snapshot(); } /** * Returns statistics over a dataset containing the given values. * * @param values a series of values */ public static Stats of(double... values) { StatsAccumulator accumulator = new StatsAccumulator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
// For datasets of many double values created from an accumulator snapshot, we test many // combinations of finite and non-finite values: for (ManyValues values : ALL_MANY_VALUES) { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(values.asIterable()); double min = accumulator.snapshot().min(); if (values.hasAnyNaN()) { assertWithMessage("min of " + values).that(min).isNaN();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)