Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for sum (0.17 sec)

  1. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testSum() {
        assertThat(emptyAccumulator.sum()).isWithin(0.0).of(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.sum()).isWithin(0.0).of(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.sum()).isWithin(0.0).of(0.0);
        assertThat(oneValueAccumulator.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(oneValueAccumulatorByAddAllEmptyStats.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        assertThat(twoValuesAccumulatorByAddAllPartitionedPairedStats.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        assertThat(manyValuesAccumulator.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / MANY_VALUES_COUNT);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        assertThat(twoValuesAccumulatorByAddAllPartitionedPairedStats.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        assertThat(manyValuesAccumulator.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / MANY_VALUES_COUNT);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTest.java

      }
    
      public void testSum() {
        assertThat(EMPTY_STATS_VARARGS.sum()).isEqualTo(0.0);
        assertThat(EMPTY_STATS_ITERABLE.sum()).isEqualTo(0.0);
        assertThat(ONE_VALUE_STATS.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(TWO_VALUES_STATS.sum()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN * 2);
        assertThat(MANY_VALUES_STATS_VARARGS.sum())
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      public void testSum() {
        assertThat(emptyAccumulator.sum()).isWithin(0.0).of(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.sum()).isWithin(0.0).of(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.sum()).isWithin(0.0).of(0.0);
        assertThat(oneValueAccumulator.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(oneValueAccumulatorByAddAllEmptyStats.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsTest.java

      }
    
      public void testSum() {
        assertThat(EMPTY_STATS_VARARGS.sum()).isEqualTo(0.0);
        assertThat(EMPTY_STATS_ITERABLE.sum()).isEqualTo(0.0);
        assertThat(ONE_VALUE_STATS.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(TWO_VALUES_STATS.sum()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN * 2);
        assertThat(MANY_VALUES_STATS_VARARGS.sum())
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            TableCollectors.toImmutableTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, Integer::sum);
        BiPredicate<ImmutableTable<String, String, Integer>, ImmutableTable<String, String, Integer>>
            equivalence = pairwiseOnResultOf(ImmutableTable::cellSet);
        CollectorTester.of(collector, equivalence)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsRelatedQueryCA.java

                opLambda.callback(builder);
            }
        }
    
        public void setCreatedTime_Sum() {
            setCreatedTime_Sum(null);
        }
    
        public void setCreatedTime_Sum(ConditionOptionCall<SumAggregationBuilder> opLambda) {
            setCreatedTime_Sum("createdTime", opLambda);
        }
    
        public void setCreatedTime_Sum(String name, ConditionOptionCall<SumAggregationBuilder> opLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 46.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsCrawlingInfoCA.java

                opLambda.callback(builder);
            }
        }
    
        public void setCreatedTime_Sum() {
            setCreatedTime_Sum(null);
        }
    
        public void setCreatedTime_Sum(ConditionOptionCall<SumAggregationBuilder> opLambda) {
            setCreatedTime_Sum("createdTime", opLambda);
        }
    
        public void setCreatedTime_Sum(String name, ConditionOptionCall<SumAggregationBuilder> opLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(TWO_VALUES_PAIRED_STATS.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS);
        assertThat(MANY_VALUES_PAIRED_STATS.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / (MANY_VALUES_COUNT - 1));
        assertThat(HORIZONTAL_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
Back to top