Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for populationCovariance (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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