Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FINITE (0.47 sec)

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

        assertThat(TWO_VALUES_STATS.mean()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN);
        // For datasets of many double values created from an array, we test many combinations of finite
        // and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double mean = Stats.of(values.asArray()).mean();
          if (values.hasAnyNaN()) {
            assertWithMessage("mean of " + values).that(mean).isNaN();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / MANY_VALUES_COUNT);
        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStatsAccumulator accumulator =
              createFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       *   computeInPlace;
       * - (except that, for non-finite values, we don't do all combinations exhaustively);
       * - percentiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace.
       */
    
      private static final double ALLOWED_ERROR = 1.0e-10;
    
      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsTesting.java

      /**
       * Helper class for testing with non-finite values. {@link #ALL_MANY_VALUES} gives a number of
       * instances with many combinations of finite and non-finite values. All have {@link
       * #MANY_VALUES_COUNT} values. If all the values are finite then the mean is {@link
       * #MANY_VALUES_MEAN} and the sum-of-squares-of-deltas is {@link
       * #MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS}. The smallest and largest finite values are always
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        // For datasets of many double values created from an iterable, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 34K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum TimeoutsToUse {
        ANY(Timeout.values()),
        PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO),
        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
        INFINITE(Timeout.LARGE, Timeout.MAX);
    
        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top