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

Function binomial_x_successes

probability/binomial_dist.cpp:65–67  ·  view source on GitHub ↗

calculates the probability of exactly x successes * \returns \f$\displaystyle P(n,p,x) = {n\choose x} p^x (1-p)^{n-x}\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