A Bernoulli random number distribution.
Generates a sequence of true and false values with likelihood that true will come up and that false will appear.
The type of the range of the distribution.
Parameter type.
Constructs a Bernoulli distribution with likelihood p
.
__p | [IN] The likelihood of a true result being returned. Must be in the interval . |
Resets the distribution state.
Does nothing for a Bernoulli distribution.
Returns the p
parameter of the distribution.
Returns the parameter set of the distribution.
Sets the parameter set of the distribution.
__param | The new parameter set of the distribution. |
Returns the greatest lower bound value of the distribution.
Returns the least upper bound value of the distribution.
Generating functions.
Return true if two Bernoulli distributions have the same parameters.
Return true if two Bernoulli distributions have different parameters.
Inserts a bernoulli_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A bernoulli_distribution random number distribution. |
__x
inserted or in an error state.Extracts a bernoulli_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A bernoulli_distribution random number generator engine. |
__x
extracted or in an error state.A discrete binomial random number distribution.
The formula for the binomial probability density function is where and are the parameters of the distribution.
The type of the range of the distribution.
Parameter type.
Resets the distribution state.
Returns the distribution t
parameter.
Returns the distribution p
parameter.
Returns the parameter set of the distribution.
Sets the parameter set of the distribution.
__param | The new parameter set of the distribution. |
Returns the greatest lower bound value of the distribution.
Returns the least upper bound value of the distribution.
Generating functions.
Return true if two binomial distributions have the same parameters and the sequences that would be generated are equal.
Inserts a binomial_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A binomial_distribution random number distribution. |
__x
inserted or in an error state.Extracts a binomial_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A binomial_distribution random number generator engine. |
__x
extracted or in an error state.Return true if two binomial distributions are different.
A discrete geometric random number distribution.
The formula for the geometric probability density function is where is the parameter of the distribution.
The type of the range of the distribution.
Parameter type.
Resets the distribution state.
Does nothing for the geometric distribution.
Returns the distribution parameter p
.
Returns the parameter set of the distribution.
Sets the parameter set of the distribution.
__param | The new parameter set of the distribution. |
Returns the greatest lower bound value of the distribution.
Returns the least upper bound value of the distribution.
Generating functions.
Return true if two geometric distributions have the same parameters.
Return true if two geometric distributions have different parameters.
Inserts a geometric_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A geometric_distribution random number distribution. |
__x
inserted or in an error state.Extracts a geometric_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A geometric_distribution random number generator engine. |
__x
extracted or in an error state.A negative_binomial_distribution random number distribution.
The formula for the negative binomial probability mass function is where and are the parameters of the distribution.
The type of the range of the distribution.
Parameter type.
Resets the distribution state.
Return the parameter of the distribution.
Return the parameter of the distribution.
Returns the parameter set of the distribution.
Sets the parameter set of the distribution.
__param | The new parameter set of the distribution. |
Returns the greatest lower bound value of the distribution.
Returns the least upper bound value of the distribution.
Generating functions.
Return true if two negative binomial distributions have the same parameters and the sequences that would be generated are equal.
Inserts a negative_binomial_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A negative_binomial_distribution random number distribution. |
__x
inserted or in an error state.Extracts a negative_binomial_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A negative_binomial_distribution random number generator engine. |
__x
extracted or in an error state.Return true if two negative binomial distributions are different.