Skip to content

MultinomialOptions

Defined in: src/distribution/discrete/multivariate.ts:11

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

optional engine?: EngineLike

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

DistributionOptions.engine


n: number

Defined in: src/distribution/discrete/multivariate.ts:12


weights: ArrayLike<number>

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

Relative weights per category. They need not sum to 1.