Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sampleVariance (0.05 sec)

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

        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.sampleVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.sampleVariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleVariance());
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty or contains a single value
       */
      public final double sampleVariance() {
        checkState(count > 1);
        if (isNaN(sumOfSquaresOfDeltas)) {
          return NaN;
        }
        return ensureNonNegative(sumOfSquaresOfDeltas) / (count - 1);
      }
    
      /**
       * Returns the <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/Stats.java

       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty or contains a single value
       */
      public double sampleVariance() {
        checkState(count > 1);
        if (isNaN(sumOfSquaresOfDeltas)) {
          return NaN;
        }
        return ensureNonNegative(sumOfSquaresOfDeltas) / (count - 1);
      }
    
      /**
       * Returns the <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top