Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for median (0.17 sec)

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

            .of(SIXTEEN_SQUARES_MEDIAN);
      }
    
      public void testMedian_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(median().computeInPlace(dataset)).isWithin(ALLOWED_ERROR).of(SIXTEEN_SQUARES_MEDIAN);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(SIXTEEN_SQUARES_DOUBLES);
      }
    
      public void testQuartiles_index_compute_doubleCollection() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

            .of(SIXTEEN_SQUARES_MEDIAN);
      }
    
      public void testMedian_computeInPlace() {
        double[] dataset = Doubles.toArray(SIXTEEN_SQUARES_DOUBLES);
        assertThat(median().computeInPlace(dataset)).isWithin(ALLOWED_ERROR).of(SIXTEEN_SQUARES_MEDIAN);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(SIXTEEN_SQUARES_DOUBLES);
      }
    
      public void testQuartiles_index_compute_doubleCollection() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

    /**
     * Provides a fluent API for calculating <a
     * href="http://en.wikipedia.org/wiki/Quantile">quantiles</a>.
     *
     * <h3>Examples</h3>
     *
     * <p>To compute the median:
     *
     * <pre>{@code
     * double myMedian = median().compute(myDataset);
     * }</pre>
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        }
    
        /**
         * デフォルロケールで{@link DateFormat#MEDIUM}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#MEDIUM}スタイルのパターン文字列
         */
        public static String getMediumPattern() {
            return getMediumPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#MEDIUM}スタイルのパターン文字列を返します。
         *
         * @param locale
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        @VisibleForTesting
        enum UnsafeComparator implements Comparator<byte[]> {
          INSTANCE;
    
          static final boolean BIG_ENDIAN = ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN);
    
          /*
           * The following static final fields exist for performance reasons.
           *
           * In UnsignedBytesBenchmark, accessing the following objects via static final fields is the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStats.java

            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      /**
       * {@inheritDoc}
       *
    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)
  7. android/guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/base/Ascii.java

       */
      public static final byte CAN = 24;
    
      /**
       * End of Medium: A control character associated with the sent data which may be used to identify
       * the physical end of the medium, or the end of the used, or wanted, portion of information
       * recorded on a medium. (The position of this character does not necessarily correspond to the
       * physical end of the medium.)
       *
       * @since 8.0
       */
      public static final byte EM = 25;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * デフォルロケールで{@link DateFormat#MEDIUM}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#MEDIUM}スタイルのパターン文字列
         */
        public static String getMediumPattern() {
            return getMediumPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#MEDIUM}スタイルのパターン文字列を返します。
         *
         * @param locale
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
Back to top