GeneralDiscreteDistribution Constructor (Int32, Double)
Constructs a new generic discrete distribution.
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax Request Example
params double probabilities
Public Sub New (
start As Integer,
ParamArray probabilities As Double()
- 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.