Constructors
Properties
Deviation
#Gets the standard deviation of this distribution. Not all types of distribution have a meaningful deviation, in which case this property returns NaN.
Entropy
#Gets the entropy of this distribution. Not all types of distribution have an entropy value, in which case this property returns NaN.
Mean
#Gets the mean of this distribution. Not all types of distribution have a mean, in which case this property returns NaN.
Median
#Gets the median of this distribution. Not all types of distribution have a median, in which case this property returns NaN.
Mode
#Gets the mode of this distribution. Not all types of distribution have a mode, in which case this property returns NaN.
Skewness
#Gets the statistical skewness of this distribution. Not all types of distribution have a skewness, in which case this property returns NaN.
Methods
CreateSampling
#Gets a collection of random samples within this distribution. This method should only be called when the distribution is discrete.
Returns: Array of samples.
CreateSamplingConsistent
#Create a random sampling of this distribution which is more consistent but slower than the CreateSampling(Random, int) method.
CreateUniform
#Create a uniform discrete distribution.
GetPreview
#Create a preview of the PDF and CDF functions.
GetRelevantInterval
#Gets the relevant x-interval in which the distribution has the most detailed progression. This method is used to decide on which interval any distribution previews ought to be drawn.
ProbabilityAt
#Gets the probability density of the distribution at index i.
Returns: Probability density at i.