|
GeneralDiscreteDistribution Constructor (Boolean, 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(
bool logarithm,
params double[] probabilities
)
Public Sub New (
logarithm As Boolean,
ParamArray probabilities As Double()
)
Request Example
View SourceParameters
- logarithm
- Type: SystemBoolean
True if the distribution should be represented using logarithms; false otherwise.
- 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