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

Function binomial_range_successes

probability/binomial_dist.cpp:74–81  ·  view source on GitHub ↗

calculates the probability of a result within a range (inclusive, inclusive) * \returns \f$\displaystyle \left.P(n,p)\right|_{x_0}^{x_1} = * \sum_{i=x_0}^{x_1} P(i) * =\sum_{i=x_0}^{x_1} {n\choose i} p^i (1-p)^{n-i}\f$ */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

nCrFunction · 0.85

Tested by

no test coverage detected