Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Medina (0.19 sec)

  1. 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)
  2. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. LICENSE

          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
          copyright notice that is included in or attached to the work
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile90(int reps) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile90(int reps) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top