Click or drag to resize

BernoulliDistribution Methods

The BernoulliDistribution type exposes the following members.

Methods
 NameDescription
Public methodCDF(Double) Returns the cumulative distribution function (CDF) evaluated at x.
(Overrides DiscreteDistributionCDF(Double))
Public methodStatic memberCDF(Double, Double) Returns the cumulative distribution function (CDF) of a Bernoulli distribution.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes this instance with the specified probability.
Public methodIsValidProbability Determines whether the specified value is valid for Probability.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNext Returns a bernoulli distributed random number.
Public methodNextDouble Returns a distributed floating-point random number.
(Overrides DistributionNextDouble)
Public methodPDF(Double) Returns the probability mass function (PMF) evaluated at x.
(Overrides DiscreteDistributionPDF(Double))
Public methodStatic memberPDF(Double, Double) Returns the probability mass function (PMF) of a Bernoulli distribution.
Public methodQuantile
(Inherited from DiscreteDistribution)
Public methodReset Resets the random number distribution so that it produces the same random number sequence again.
(Inherited from Distribution)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also