Click or drag to resize
Accord.NET (logo)

UniformDiscreteDistribution Constructor

Creates a discrete uniform distribution defined in the interval [a;b].

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public UniformDiscreteDistribution(
	[IntegerAttribute(-2147483648, 2147483647)][DefaultValueAttribute(0)] int a,
	[IntegerAttribute(-2147483648, 2147483647)][DefaultValueAttribute(1)] int b
)
Request Example View Source

Parameters

a
Type: SystemInt32
The starting (minimum) value a.
b
Type: SystemInt32
The ending (maximum) value b.
See Also