Click or drag to resize
Accord.NET (logo)

GeneralDiscreteDistributionUniform Method

Constructs a new uniform discrete distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static GeneralDiscreteDistribution Uniform(
	int a,
	int b
)
Request Example View Source

Parameters

a
Type: SystemInt32
The integer value where the distribution starts, also known as a. Default value is 0.
b
Type: SystemInt32
The integer value where the distribution ends, also known as b.

Return Value

Type: GeneralDiscreteDistribution
See Also