Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sumOfSquaresOfDeltas (0.2 sec)

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

          min = value;
          max = value;
          if (!isFinite(value)) {
            sumOfSquaresOfDeltas = NaN;
          }
        } else {
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16)
            double delta = value - mean;
            mean += delta / count;
            sumOfSquaresOfDeltas += delta * (value - mean);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStats.java

        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return NaN;
        }
        double xSumOfSquaresOfDeltas = xStats().sumOfSquaresOfDeltas();
        double ySumOfSquaresOfDeltas = yStats().sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Stats.java

       *       (they will not be used).
       *   <li>If {@code count} is 1, {@code sumOfSquaresOfDeltas} must be exactly 0.0 or {@link
       *       Double#NaN}.
       * </ul>
       */
      Stats(long count, double mean, double sumOfSquaresOfDeltas, double min, double max) {
        this.count = count;
        this.mean = mean;
        this.sumOfSquaresOfDeltas = sumOfSquaresOfDeltas;
        this.min = min;
        this.max = max;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return NaN;
        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
    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)
Back to top