Click or drag to resize
Accord.NET (logo)

MultivariateDiscreteDistributionGenerate Method (Int32)

Generates a random observation from the current distribution.

Namespace:  Accord.Statistics.Distributions.Multivariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
public int[] Generate(
	int[] result
)
Request Example View Source

Parameters

result
Type: SystemInt32

Return Value

Type: Int32
A random observations drawn from this distribution.

Implements

ISampleableDistributionTObservationsGenerate(TObservations)
See Also