|
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
)
Public Sub New (
<IntegerAttribute(-2147483648, 2147483647)><DefaultValueAttribute(0)> a As Integer,
<IntegerAttribute(-2147483648, 2147483647)><DefaultValueAttribute(1)> b As Integer
)
Request Example
View SourceParameters
- a
- Type: SystemInt32
The starting (minimum) value a. - b
- Type: SystemInt32
The ending (maximum) value b.
See Also