Click or drag to resize

IDiscreteDistribution Interface

Discrete Univariate Probability Distribution.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IDiscreteDistribution : IUnivariateDistribution, 
	IDistribution

The IDiscreteDistribution type exposes the following members.

Properties
 NameDescription
Public propertyEntropy Gets the entropy of the distribution.
(Inherited from IUnivariateDistribution)
Public propertyMaximum Gets the largest element in the domain of the distribution which can be represented by an integer.
Public propertyMean Gets the mean of the distribution.
(Inherited from IUnivariateDistribution)
Public propertyMedian Gets the median of the distribution.
(Inherited from IUnivariateDistribution)
Public propertyMinimum Gets the smallest element in the domain of the distribution which can be represented by an integer.
Public propertyMode Gets the mode of the distribution.
Public propertyRandomSource Gets or sets the random number generator which is used to draw random samples.
(Inherited from IDistribution)
Public propertySkewness Gets the skewness of the distribution.
(Inherited from IUnivariateDistribution)
Public propertyStdDev Gets the standard deviation of the distribution.
(Inherited from IUnivariateDistribution)
Public propertyVariance Gets the variance of the distribution.
(Inherited from IUnivariateDistribution)
Top
Methods
 NameDescription
Public methodCumulativeDistribution Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
(Inherited from IUnivariateDistribution)
Public methodProbability Computes the probability mass (PMF) at k, i.e. P(X = k).
Public methodProbabilityLn Computes the log probability mass (lnPMF) at k, i.e. ln(P(X = k)).
Public methodSample Draws a random sample from the distribution.
Public methodSamples Draws a sequence of random samples from the distribution.
Public methodSamples(Int32) Fills an array with samples generated from the distribution.
Top
See Also