Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StatsAccumulator (0.24 sec)

  1. 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();
    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)
  2. android/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();
    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)
Back to top