Bernoulli

The probability density function for the Bernoulli distribution is

$$Prob \left \{ x=1 \right \} = 1 - Prob \left \{ x=0 \right \} = p$$

where $$p$$ is the probability of generating the value 1.

= See also =


 * Random
 * Random numbers

= Doxygen =


 * Random number generators