Click or drag to resize
Accord.NET (logo)

GeneralDiscreteDistribution Constructor (Int32, Double)

Constructs a new generic discrete distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public GeneralDiscreteDistribution(
	int start,
	params double[] probabilities
Request Example View Source


Type: SystemInt32
The integer value where the distribution starts, also known as the offset value. Default value is 0.
Type: SystemDouble
The frequency of occurrence for each integer value in the distribution. The distribution is assumed to begin in the interval defined by start up to size of this vector.
See Also