Click or drag to resize
Accord.NET (logo)

UnivariateDiscreteDistributionGenerate Method

Generates a random observation from the current distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public int Generate()
Request Example View Source

Return Value

Type: Int32
A random observations drawn from this distribution.

Implements

IRandomNumberGeneratorTGenerate
See Also