Skip to content

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.

HypergeometricDistributionParameters

HypergeometricDistribution

With INVALID_PARAMETER for an unsupported count.