Bernoulli |
public class BernoulliDistribution : DiscreteDistribution
The BernoulliDistribution type exposes the following members.
Name | Description | |
---|---|---|
BernoulliDistribution | Initializes a new instance of the BernoulliDistribution class, using a StandardGenerator as underlying random number generator. | |
BernoulliDistribution(Double) | Initializes a new instance of the BernoulliDistribution class | |
BernoulliDistribution(Generator) | Initializes a new instance of the BernoulliDistribution class, using the specified Generator as underlying random number generator. | |
BernoulliDistribution(Double, Generator) | Initializes a new instance of the BernoulliDistribution class |
Name | Description | |
---|---|---|
CanReset |
Gets a value indicating whether the random number distribution can be reset, so that it produces the same
random number sequence again.
(Inherited from Distribution) | |
Generator |
Gets or sets a Generator object that can be used as underlying random number generator.
(Inherited from Distribution) | |
Maximum |
Gets the maximum possible value of bernoulli distributed random numbers.
(Overrides DistributionMaximum) | |
Mean |
Gets the mean value of bernoulli distributed random numbers.
(Overrides DistributionMean) | |
Median |
Gets the median of bernoulli distributed random numbers.
(Overrides DistributionMedian) | |
Minimum |
Gets the minimum possible value of bernoulli distributed random numbers.
(Overrides DistributionMinimum) | |
Mode |
Gets the mode of bernoulli distributed random numbers.
(Overrides DistributionMode) | |
Probability | Gets or sets the parameter alpha which is used for generation of bernoulli distributed random numbers. | |
Variance |
Gets the variance of bernoulli distributed random numbers.
(Overrides DistributionVariance) |
Name | Description | |
---|---|---|
CDF(Double) | (Overrides DiscreteDistributionCDF(Double)) | |
CDF(Double, Double) | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Initialize | ||
IsValidProbability | Determines whether the specified value is valid for Probability. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Next | Returns a bernoulli distributed random number. | |
NextDouble |
Returns a bernoulli distributed floating point random number.
(Overrides DistributionNextDouble) | |
PDF(Double) | (Overrides DiscreteDistributionPDF(Double)) | |
PDF(Double, Double) | ||
Quantile | (Inherited from DiscreteDistribution) | |
Reset |
Resets the random number distribution, so that it produces the same random number sequence again.
(Inherited from Distribution) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
generator |
Stores a Generator object that can be used as underlying random number generator.
(Inherited from Distribution) |