IDiscrete |
public interface IDiscreteDistribution : IUnivariateDistribution, IDistribution
The IDiscreteDistribution type exposes the following members.
Name | Description | |
---|---|---|
Entropy |
Gets the entropy of the distribution.
(Inherited from IUnivariateDistribution) | |
Maximum | Gets the largest element in the domain of the distribution which can be represented by an integer. | |
Mean |
Gets the mean of the distribution.
(Inherited from IUnivariateDistribution) | |
Median |
Gets the median of the distribution.
(Inherited from IUnivariateDistribution) | |
Minimum | Gets the smallest element in the domain of the distribution which can be represented by an integer. | |
Mode | Gets the mode of the distribution. | |
RandomSource |
Gets or sets the random number generator which is used to draw random samples.
(Inherited from IDistribution) | |
Skewness |
Gets the skewness of the distribution.
(Inherited from IUnivariateDistribution) | |
StdDev |
Gets the standard deviation of the distribution.
(Inherited from IUnivariateDistribution) | |
Variance |
Gets the variance of the distribution.
(Inherited from IUnivariateDistribution) |
Name | Description | |
---|---|---|
CumulativeDistribution |
Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
(Inherited from IUnivariateDistribution) | |
Probability | Computes the probability mass (PMF) at k, i.e. P(X = k). | |
ProbabilityLn | Computes the log probability mass (lnPMF) at k, i.e. ln(P(X = k)). | |
Sample | Draws a random sample from the distribution. | |
Samples | Draws a sequence of random samples from the distribution. | |
Samples(Int32) | Fills an array with samples generated from the distribution. |