|
GeneralDiscreteDistribution Constructor (Int32, Int32, Boolean)
|
Constructs a new uniform discrete distribution.
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public GeneralDiscreteDistribution(
int start,
int symbols,
bool logarithm = false
)
Public Sub New (
start As Integer,
symbols As Integer,
Optional logarithm As Boolean = false
)
Request Example
View SourceParameters
- start
- Type: SystemInt32
The integer value where the distribution starts, also
known as the offset value. Default value is 0. - symbols
- Type: SystemInt32
The number of discrete values within the distribution.
The distribution is assumed to belong to the interval
[start, start + symbols]. - logarithm (Optional)
- Type: SystemBoolean
True if the distribution should be represented using logarithms; false otherwise.
See Also