Searched defs:binomial (Results 1 - 17 of 17) sorted by relevance

/external/v8/tools/clang/translation_unit/test_files/
H A Dbinomial.h8 int binomial(int n, int k) { function
9 return k > 0 ? binomial(n - 1, k - 1) * n / k : 1;
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DIntMathBenchmark.java38 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]);
H A DBigIntegerMathBenchmark.java107 @Benchmark int binomial(int reps) { method in class:BigIntegerMathBenchmark
111 tmp += BigIntegerMath.binomial(factorials[j], binomials[j]).intValue();
H A DLongMathBenchmark.java94 @Benchmark int binomial(int reps) { method in class:LongMathBenchmark
98 tmp += LongMath.binomial(binomialArguments[j][0], binomialArguments[j][1]);
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DBigIntegerMath.java210 * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
217 public static BigInteger binomial(int n, int k) { method in class:BigIntegerMath
225 return BigInteger.valueOf(LongMath.binomial(n, k));
H A DLongMath.java198 * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
203 public static long binomial(int n, int k) { method in class:LongMath
279 * binomial(biggestBinomials[k], k) fits in a long, but not
280 * binomial(biggestBinomials[k] + 1, k).
288 * binomial(biggestSimpleBinomials[k], k) doesn't need to use the slower GCD-based impl,
289 * but binomial(biggestSimpleBinomials[k] + 1, k) does.
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java393 * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
400 public static BigInteger binomial(int n, int k) { method in class:BigIntegerMath
408 return BigInteger.valueOf(LongMath.binomial(n, k));
H A DIntMath.java518 * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
524 public static int binomial(int n, int k) { method in class:IntMath
549 // binomial(biggestBinomials[k], k) fits in an int, but not binomial(biggestBinomials[k]+1,k).
H A DLongMath.java643 * Returns {@code n} choose {@code k}, also known as the binomial coefficient of {@code n} and
648 public static long binomial(int n, int k) { method in class:LongMath
724 * binomial(biggestBinomials[k], k) fits in a long, but not
725 * binomial(biggestBinomials[k] + 1, k).
733 * binomial(biggestSimpleBinomials[k], k) doesn't need to use the slower GCD-based impl,
734 * but binomial(biggestSimpleBinomials[k] + 1, k) does.
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/dagger2/lib/
H A Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/r8/deps/
H A Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 1145 milliseconds