The OpenD Programming Language

binomialCDF.binomialCDF

  1. 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
    )
  2. 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