Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for einige (0.23 sec)

  1. 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();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  2. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  3. 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();
    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)
  4. 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();
    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)
  5. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

     * infinite value and itself, the infinite value is returned. If required to do a weighted average
     * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITY
     * POSITIVE_INFINITY}, {@link Double#NaN NaN} is returned (note that this will only happen if the
     * dataset contains no finite values).
     *
     * <h3>Performance</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/StatsAccumulator.java

         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
         *    value (whether it is NaN or infinity).
         * 2. If the new value is finite and the previous mean is non-finite then the mean is unchanged
         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/DoubleMathTest.java

              -20,
              Double.NaN,
              Double.NEGATIVE_INFINITY,
              -0.001);
    
      public void testFuzzyEqualsFinite() {
        for (double a : FINITE_DOUBLE_CANDIDATES) {
          for (double b : FINITE_DOUBLE_CANDIDATES) {
            for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
              assertEquals(Math.abs(a - b) <= tolerance, DoubleMath.fuzzyEquals(a, b, tolerance));
            }
          }
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathTesting.java

            fractionalBuilder.add(x);
          }
        }
        FRACTIONAL_DOUBLE_CANDIDATES = fractionalBuilder.build();
        FINITE_DOUBLE_CANDIDATES =
            Iterables.concat(FRACTIONAL_DOUBLE_CANDIDATES, INTEGRAL_DOUBLE_CANDIDATES);
        POSITIVE_FINITE_DOUBLE_CANDIDATES =
            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. 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();
    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