HomeSort by relevance Sort by last modified time
    Searched full:binomial (Results 1 - 25 of 214) sorted by null

1 2 3 4 5 6 7 8 9

  /external/guava/guava-tests/benchmark/com/google/common/math/
IntMathBenchmark.java 38 private static int[] binomial = new int[ARRAY_SIZE]; field in class:IntMathBenchmark
48 binomial[i] = RANDOM_SOURCE.nextInt(factorial[i] + 1);
91 @Benchmark int binomial(int reps) { method in class:IntMathBenchmark
95 tmp += IntMath.binomial(factorial[j], binomial[j]);
BigIntegerMathBenchmark.java 107 @Benchmark int binomial(int reps) { method in class:BigIntegerMathBenchmark
111 tmp += BigIntegerMath.binomial(factorials[j], binomials[j]).intValue();
LongMathBenchmark.java 94 @Benchmark int binomial(int reps) { method in class:LongMathBenchmark
98 tmp += LongMath.binomial(binomialArguments[j][0], binomialArguments[j][1]);
  /external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
LongMathTest.java 57 // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows
121 // Depends on the correctness of BigIntegerMath.binomial.
125 BigInteger expectedBig = BigIntegerMath.binomial(n, k);
127 assertEquals(expectedLong, LongMath.binomial(n, k));
135 LongMath.binomial(n, -1);
139 LongMath.binomial(n, n + 1);
148 LongMath.binomial(n, 0);
BigIntegerMathTest.java 181 assertEquals(expected, BigIntegerMath.binomial(n, k));
189 BigIntegerMath.binomial(n, -1);
193 BigIntegerMath.binomial(n, n + 1);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
BinomialDistribution.java 20 * The Binomial Distribution.
26 * Binomial Distribution</a></li>
PascalDistribution.java 21 * Negative Binomial distribution where the number of successes parameter is an
33 * Negative Binomial Distribution</a></li>
SaddlePointExpansion.java 36 * <li>Catherine Loader (2000). "Fast and Accurate Computation of Binomial
134 * <li>Catherine Loader (2000). "Fast and Accurate Computation of Binomial
169 * Compute the PMF for a binomial distribution using the saddle point
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binomial_heap_/
binomial_heap_.hpp 38 * Contains an implementation class for a binomial heap.
42 * Binomial heap.
63 * Binomial heap.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binomial_heap_/
binomial_heap_.hpp 38 * Contains an implementation class for a binomial heap.
42 * Binomial heap.
63 * Binomial heap.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binomial_heap_/
binomial_heap_.hpp 38 * Contains an implementation class for a binomial heap.
42 * Binomial heap.
63 * Binomial heap.
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/binomial_heap_/
binomial_heap_.hpp 38 * Contains an implementation class for a binomial heap.
42 * Binomial heap.
63 * Binomial heap.
  /external/guava/guava-tests/test/com/google/common/math/
IntMathTest.java 83 assertTrue(fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k], k)));
85 || !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k)));
90 fitsInInt(BigIntegerMath.binomial(
480 // Depends on the correctness of BigIntegerMath.binomial.
485 BigInteger expectedBig = BigIntegerMath.binomial(n, k);
487 assertEquals(expectedInt, IntMath.binomial(n, k));
492 @GwtIncompatible("binomial")
496 IntMath.binomial(n, -1);
500 IntMath.binomial(n, n + 1);
506 @GwtIncompatible("binomial")
    [all...]
LongMathTest.java 108 assertTrue(fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k], k)));
110 || !fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k] + 1, k)));
115 assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k)));
153 // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows
559 // Depends on the correctness of BigIntegerMath.binomial.
563 BigInteger expectedBig = BigIntegerMath.binomial(n, k);
565 assertEquals(expectedLong, LongMath.binomial(n, k));
572 // Tests all of the inputs to LongMath.binomial that won't cause it to overflow, that weren't
576 assertEquals(BigIntegerMath.binomial(n, k).longValue(), LongMath.binomial(n, k))
    [all...]
MathBenchmarking.java 40 * binomial(biggestBinomials[k], k) fits in a long, but not
41 * binomial(biggestBinomials[k] + 1, k).
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/
gamma.tcc 266 * @brief Return the logarithm of the binomial coefficient.
267 * The binomial coefficient is given by:
272 * @param __n The first argument of the binomial coefficient.
273 * @param __k The second argument of the binomial coefficient.
274 * @return The binomial coefficient.
297 * @brief Return the binomial coefficient.
298 * The binomial coefficient is given by:
303 * @param __n The first argument of the binomial coefficient.
304 * @param __k The second argument of the binomial coefficient.
305 * @return The binomial coefficient
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/
gamma.tcc 266 * @brief Return the logarithm of the binomial coefficient.
267 * The binomial coefficient is given by:
272 * @param __n The first argument of the binomial coefficient.
273 * @param __k The second argument of the binomial coefficient.
274 * @return The binomial coefficient.
297 * @brief Return the binomial coefficient.
298 * The binomial coefficient is given by:
303 * @param __n The first argument of the binomial coefficient.
304 * @param __k The second argument of the binomial coefficient.
305 * @return The binomial coefficient
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/
gamma.tcc 266 * @brief Return the logarithm of the binomial coefficient.
267 * The binomial coefficient is given by:
272 * @param __n The first argument of the binomial coefficient.
273 * @param __k The second argument of the binomial coefficient.
274 * @return The binomial coefficient.
297 * @brief Return the binomial coefficient.
298 * The binomial coefficient is given by:
303 * @param __n The first argument of the binomial coefficient.
304 * @param __k The second argument of the binomial coefficient.
305 * @return The binomial coefficient
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/
gamma.tcc 266 * @brief Return the logarithm of the binomial coefficient.
267 * The binomial coefficient is given by:
272 * @param __n The first argument of the binomial coefficient.
273 * @param __k The second argument of the binomial coefficient.
274 * @return The binomial coefficient.
297 * @brief Return the binomial coefficient.
298 * The binomial coefficient is given by:
303 * @param __n The first argument of the binomial coefficient.
304 * @param __k The second argument of the binomial coefficient.
305 * @return The binomial coefficient
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp 38 * Contains an implementation for redundant-counter binomial heap.
61 * Redundant-counter binomial heap.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp 38 * Contains an implementation for redundant-counter binomial heap.
61 * Redundant-counter binomial heap.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp 38 * Contains an implementation for redundant-counter binomial heap.
61 * Redundant-counter binomial heap.
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp 38 * Contains an implementation for redundant-counter binomial heap.
61 * Redundant-counter binomial heap.
  /external/llvm/test/CodeGen/X86/
phys_subreg_coalesce-2.ll 5 define i32 @binomial(i32 %n, i32 %k) nounwind {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binomial_heap_base_/
binomial_heap_base_.hpp 38 * Contains an implementation class for a base of binomial heaps.
45 * Binomial heap base.
75 /// Base class for binomial heap.

Completed in 1125 milliseconds

1 2 3 4 5 6 7 8 9