- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 220 for median (0.05 seconds)
-
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: * * {@snippet : * double myMedian = median().compute(myDataset); * } * * where {@link #median()} has been statically imported. * * <p>To compute the 99th percentile: * * {@snippet : * double myPercentile99 = percentiles().index(99).compute(myDataset);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 30.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
public void testMedian_compute_doubleCollection() { assertThat(median().compute(SIXTEEN_SQUARES_DOUBLES)) .isWithin(ALLOWED_ERROR) .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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
public void testMedian_compute_doubleCollection() { assertThat(median().compute(SIXTEEN_SQUARES_DOUBLES)) .isWithin(ALLOWED_ERROR) .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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
// Exactly two elements left. swap(array, from, to); } return array[k]; } else { int midIndex = (from + to) >>> 1; // Choose the median of the elements at the from, to and mid indexes, // and rearrange so that array[from]<=array[from+1], and // array[to] => array[from + 1]. swap(array, midIndex, from + 1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
// Exactly two elements left. swap(array, from, to); } return array[k]; } else { int midIndex = (from + to) >>> 1; // Choose the median of the elements at the from, to and mid indexes, // and rearrange so that array[from]<=array[from+1], and // array[to] => array[from + 1]. swap(array, midIndex, from + 1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0) -
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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/fr/docs/advanced/additional-responses.md
} } } } } ``` ## Types de médias supplémentaires pour la réponse principale { #additional-media-types-for-the-main-response } Vous pouvez utiliser ce même paramètre `responses` pour ajouter différents types de médias pour la même réponse principale.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
* (also known as a MIME Type or Content Type). This class also supports the concept of media ranges * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>. * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable * type or subtype value. A media type may not have wildcard type with a declared subtype. TheCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 03 01:59:51 GMT 2026 - 11.3K bytes - Click Count (0)