DiscreteDistribution.GetRandomValue Method
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: 4.0.5.0 (4.0.5.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