Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 851 for mean (0.28 sec)

  1. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

            for (int i = 1; i < values.length; i++) {
              mean = mean + (values[i] - mean) / (i + 1);
            }
            return mean;
          }
        };
    
        abstract double mean(double[] values);
      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
          this.variance = variance;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

              + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
              + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
              + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
              + (555555.0 - INTEGER_MANY_VALUES_MEAN) * (555555.0 - INTEGER_MANY_VALUES_MEAN);
      static final double INTEGER_MANY_VALUES_MAX = 555555.0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

          // in NaN naturally.
          sumOfProductsOfDeltas +=
              values.sumOfProductsOfDeltas()
                  + (values.xStats().mean() - xStats.mean())
                      * (values.yStats().mean() - yStats.mean())
                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsTest.java

          }
        }
        assertThat(MANY_VALUES_STATS_ITERABLE.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_ITERATOR.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_SNAPSHOT.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(LARGE_VALUES_STATS.mean())
            .isWithin(ALLOWED_ERROR * Double.MAX_VALUE)
            .of(LARGE_VALUES_MEAN);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  5. LICENSES/third_party/forked/shell2junit/LICENSE

    http://www.apache.org/licenses/ 
    
    1. Definitions.
    
    "License" shall mean the terms and conditions for use, reproduction, and 
    distribution as defined by Sections 1 through 9 of this document. 
    
    "Licensor" shall mean the copyright owner or entity authorized by the 
    copyright owner that is granting the License. 
    
    "Legal Entity" shall mean the union of the acting entity and all other 
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Jul 08 11:48:19 GMT 2021
    - 9.2K bytes
    - Viewed (0)
  6. licenses/github.com/spf13/afero/LICENSE.txt

       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 9.9K bytes
    - Viewed (0)
  7. licenses/github.com/spf13/cobra/LICENSE.txt

       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
          the copyright owner that is granting the License.
    
          "Legal Entity" shall mean the union of the acting entity and all
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/StatsTesting.java

              + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
              + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
              + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
              + (555555.0 - INTEGER_MANY_VALUES_MEAN) * (555555.0 - INTEGER_MANY_VALUES_MEAN);
      static final double INTEGER_MANY_VALUES_MAX = 555555.0;
    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)
  9. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThat(twoValuesAccumulatorByAddAllStats.mean())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_MEAN);
        assertThat(manyValuesAccumulatorByAddAllIterable.mean())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        assertThat(manyValuesAccumulatorByAddAllIterator.mean())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          DoubleMath.mean(Double.POSITIVE_INFINITY);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top