DiscreteDistribution Methods

Methods

DistributionFunction Gets the probability of obtaining an outcome less than or equal to a specified value.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAllModes Returns an array that contains all the modes of the distribution.
GetExpectedHistogram(Index<Interval<Int32>>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Index<Int32>, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetExpectedHistogram(Int32, Int32, Double) Returns a histogram whose bins contain the expected number of samples from the distribution for a given total number of samples.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandomSequence() Returns a sequence of random samples from the distribution.
GetRandomSequence(Random) Returns a sequence of random samples from the distribution.
GetRandomSequence(Random, Int32) Returns a sequence of random samples of the specified length from the distribution.
GetTypeGets the Type of the current instance.
(Inherited from Object)
InverseDistributionFunction Returns the inverse of the distribution function.
LeftTailProbability Gets the probability of obtaining a sample that is less than or less than or equal to the specified upper bound.
LogProbability Returns the logarithm of the probability of obtaining a specific integer value in the distribution.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Probability(Int32) Returns the probability of obtaining a specific integer value in the distribution.
Probability(Int32, Int32) Gets the probability of obtaining a sample that falls within the specified interval from the distribution.
RightTailProbability Gets the probability of obtaining a sample that is less than or less than or equal to the specified upper bound.
Sample() Returns a random sample from the distribution.
Sample(Int32) Returns a vector of random samples from the distribution.
Sample(Random) Returns a random sample from the distribution.
Sample(Int32, Random) Returns a vector of random samples from the distribution.
Sample(Random, Int32[]) Fills an Int32 array with random numbers.
Sample(Random, Int32[], Int32, Int32) Fills an Int32 array with random numbers from this DiscreteDistribution.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TwoTailProbability Gets the probability of obtaining a sample that is less than or less than or equal to the specified upper bound.

See Also