Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for populationCovariance (0.18 sec)

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

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.populationCovariance());
        assertThat(oneValueAccumulator.populationCovariance()).isEqualTo(0.0);
        assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.populationCovariance()).isEqualTo(0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.populationCovariance());
        assertThat(oneValueAccumulator.populationCovariance()).isEqualTo(0.0);
        assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.populationCovariance()).isEqualTo(0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(ONE_VALUE_PAIRED_STATS.populationCovariance()).isEqualTo(0.0);
        assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTest.java

        assertThrows(IllegalStateException.class, () -> EMPTY_STATS_VARARGS.populationVariance());
        assertThrows(IllegalStateException.class, () -> EMPTY_STATS_ITERABLE.populationVariance());
        assertThat(ONE_VALUE_STATS.populationVariance()).isEqualTo(0.0);
        assertThat(Stats.of(POSITIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NEGATIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NaN).populationVariance()).isNaN();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationVariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyIterable.populationVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.populationVariance());
        assertThat(oneValueAccumulator.populationVariance()).isEqualTo(0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationVariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyIterable.populationVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.populationVariance());
        assertThat(oneValueAccumulator.populationVariance()).isEqualTo(0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public final double sum() {
        return mean * count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Population_variance">population
       * variance</a> of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains only exactly one finite value. It
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/Stats.java

       */
      public double sum() {
        return mean * count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Population_variance">population
       * variance</a> of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains only exactly one finite value. It
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top