hypergeometricDistribution(
__namedParameters):HypergeometricDistribution
Defined in: packages/distribution/src/hypergeometric-distribution.ts:74
Construct the count distribution for draws without replacement.
Draws consume two 32-bit words for a point mass or when the sample or its complement has fewer than 10 items. The wider case uses ratio-of- uniforms rejection and a variable number of words.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”HypergeometricDistributionParameters
Returns
Section titled “Returns”Throws
Section titled “Throws”With INVALID_PARAMETER for an unsupported count.