binomialDistribution(
__namedParameters):BinomialDistribution
Defined in: packages/distribution/src/binomial-distribution.ts:33
Construct a binomial count distribution. Zero trials or a success probability of zero or one give a point mass.
Draws consume two 32-bit words for a point mass or when the expected smaller outcome count is below 10, and a variable number otherwise.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”BinomialDistributionParameters
Returns
Section titled “Returns”Throws
Section titled “Throws”With INVALID_PARAMETER for unsupported trials or success probability.