geometricDistribution(
__namedParameters):GeometricDistribution
Defined in: packages/distribution/src/geometric-distribution.ts:28
Construct the distribution of failures before the first success. A success probability of one gives a point mass at zero.
Draws consume two 32-bit words for closed-form inversion, including point masses.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”GeometricDistributionParameters
Returns
Section titled “Returns”Throws
Section titled “Throws”With INVALID_PARAMETER for an unsupported success probability.