Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StatsAccumulator (0.12 sec)

  1. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public void addAll(DoubleStream values) {
        addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll));
      }
    
      /**
       * Adds the given values to the dataset. The stream will be completely consumed by this method.
       *
       * @param values a series of values
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      private StatsAccumulator emptyAccumulator;
      private StatsAccumulator emptyAccumulatorByAddAllEmptyIterable;
      private StatsAccumulator emptyAccumulatorByAddAllEmptyStats;
      private StatsAccumulator oneValueAccumulator;
      private StatsAccumulator oneValueAccumulatorByAddAllEmptyStats;
      private StatsAccumulator twoValuesAccumulator;
      private StatsAccumulator twoValuesAccumulatorByAddAllStats;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/Stats.java

        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values
       */
      public static Stats of(double... values) {
        StatsAccumulator accumulator = new StatsAccumulator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStatsAccumulator.java

      // These fields must satisfy the requirements of PairedStats' constructor as well as those of the
      // stat methods of this class.
      private final StatsAccumulator xStats = new StatsAccumulator();
      private final StatsAccumulator yStats = new StatsAccumulator();
      private double sumOfProductsOfDeltas = 0.0;
    
      /** Adds the given pair of values to the dataset. */
      public void add(double x, double y) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top