Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for hasAnyNonFinite (0.08 seconds)

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

          return Iterables.any(values, Predicates.equalTo(NEGATIVE_INFINITY));
        }
    
        boolean hasAnyNaN() {
          return Iterables.any(values, Predicates.equalTo(NaN));
        }
    
        boolean hasAnyNonFinite() {
          return hasAnyPositiveInfinity() || hasAnyNegativeInfinity() || hasAnyNaN();
        }
    
        @Override
        public String toString() {
          return values.toString();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

          return Iterables.any(values, Predicates.equalTo(NEGATIVE_INFINITY));
        }
    
        boolean hasAnyNaN() {
          return Iterables.any(values, Predicates.equalTo(NaN));
        }
    
        boolean hasAnyNonFinite() {
          return hasAnyPositiveInfinity() || hasAnyNegativeInfinity() || hasAnyNaN();
        }
    
        @Override
        public String toString() {
          return values.toString();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
          } else {
            assertWithMessage("population covariance of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/PairedStatsTest.java

        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
          } else {
            assertWithMessage("population covariance of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

          double populationCovarianceByAddAllPartitionedPairedStats =
              accumulatorByAddAllPartitionedPairedStats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
            assertWithMessage("population covariance by addAll(PairedStats) of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double populationVariance = Stats.of(values.asIterable()).populationVariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
          } else {
            assertWithMessage("population variance of %s", values)
                .that(populationVariance)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          }
          double populationVariance = accumulator.populationVariance();
          double populationVarianceByAddAllStats = accumulatorByAddAllStats.populationVariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          }
          double populationVariance = accumulator.populationVariance();
          double populationVarianceByAddAllStats = accumulatorByAddAllStats.populationVariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of %s", values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
Back to Top