|
GeneralDiscreteDistribution Constructor (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 symbols,
bool logarithm = false
)
Public Sub New (
symbols As Integer,
Optional logarithm As Boolean = false
)
Request Example
View SourceParameters
- 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