The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
binomialCDF.binomialCDF
mir
stat
distribution
binomial
binomialCDF
T
binomialCDF
(size_t k, size_t n, T p)
template
binomialCDF
(BinomialAlgo binomialAlgo = BinomialAlgo.direct, PoissonAlgo poissonAlgo = PoissonAlgo.gamma)
@
safe
pure nothrow @
nogc
T
binomialCDF
(
T
)
(
const
size_t
k
,
const
size_t
n
,
const
T
p
)
if
(
isFloatingPoint
!
T
)
template
binomialCDF
(string binomialAlgo, string poissonAlgo = "gamma")
Parameters
k
size_t
value to evaluate CDF (e.g. number of "heads")
n
size_t
number of trials
p
T
true
probability
Meta
Source
See Implementation
mir
stat
distribution
binomial
binomialCDF
functions
binomialCDF