MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / nCr

Function nCr

probability/binomial_dist.cpp:47–60  ·  view source on GitHub ↗

Computes n choose r * \param [in] n * \param [in] r * \returns \f$\displaystyle {n\choose r} = * \frac{n!}{r!(n-r)!} = \frac{n\times(n-1)\times(n-2)\times\cdots(n-r)}{r!} * \f$ */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

binomial_x_successesFunction · 0.85
binomial_range_successesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected