Click or drag to resize
DiscreteDistributionGetRandomValue Method
Produces a random integer drawn from the distribution.

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public virtual int GetRandomValue(
	Random rng
)

Parameters

rng
Type: SystemRandom
A random number generator.

Return Value

Type: Int32
A random integer drawn from the distribution.
See Also