Skip to content

GeometricOptions

Defined in: src/distribution/discrete/waiting.ts:14

Every distribution accepts an engine, defaulting to the global instance.

optional engine?: EngineLike

Defined in: src/distribution/sampler.ts:8

DistributionOptions.engine


p: number

Defined in: src/distribution/discrete/waiting.ts:15


optional support?: "trials" | "failures"

Defined in: src/distribution/discrete/waiting.ts:21

'trials' (the default) counts the trial on which the first success lands, so the support starts at 1. 'failures' counts the failures before it, so the support starts at 0.