Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hasAnyNonFinite (0.32 sec)

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

          double populationCovarianceByAddAllPartitionedPairedStats =
              accumulatorByAddAllPartitionedPairedStats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of " + values).that(populationCovariance).isNaN();
            assertWithMessage("population covariance by addAll(PairedStats) of " + values)
    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)
  2. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

          double populationCovarianceByAddAllPartitionedPairedStats =
              accumulatorByAddAllPartitionedPairedStats.populationCovariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of " + values).that(populationCovariance).isNaN();
            assertWithMessage("population covariance by addAll(PairedStats) of " + values)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  3. 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 " + values).that(populationCovariance).isNaN();
          } else {
            assertWithMessage("population covariance of " + values)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. 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 " + values).that(populationCovariance).isNaN();
          } else {
            assertWithMessage("population covariance of " + values)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. 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();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. 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();
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (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 " + values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of " + values)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (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 " + values).that(populationVariance).isNaN();
            assertWithMessage("population variance by addAll(Stats) of " + values)
    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)
  9. android/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 " + values).that(populationVariance).isNaN();
          } else {
            assertWithMessage("population variance of " + values)
                .that(populationVariance)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  10. 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 " + values).that(populationVariance).isNaN();
          } else {
            assertWithMessage("population variance of " + values)
                .that(populationVariance)
    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)
Back to top