Click or drag to resize
Accord.NET (logo)

GeneralDiscreteDistribution Constructor (Double)

Constructs a new generic discrete distribution.

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

Parameters

probabilities
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