Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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