From Jason Turner

[rand.dist.bern.bernoulli]

Diff to HTML by rtfpessoa

tmp/tmp892x5ebe/{from.md → to.md} RENAMED
@@ -1,13 +1,9 @@
1
  ##### Class `bernoulli_distribution` <a id="rand.dist.bern.bernoulli">[[rand.dist.bern.bernoulli]]</a>
2
 
3
  A `bernoulli_distribution` random number distribution produces `bool`
4
- values b distributed according to the discrete probability function
5
- $$P(b\,|\,p) = \left\{ \begin{array}{ll}
6
- p & \text{ if $b = \tcode{true}$, or} \\
7
- 1 - p & \text{ if $b = \tcode{false}$.}
8
- \end{array}\right.$$
9
 
10
  ``` cpp
11
  namespace std {
12
  class bernoulli_distribution {
13
  public:
 
1
  ##### Class `bernoulli_distribution` <a id="rand.dist.bern.bernoulli">[[rand.dist.bern.bernoulli]]</a>
2
 
3
  A `bernoulli_distribution` random number distribution produces `bool`
4
+ values b distributed according to the discrete probability function in .
 
 
 
 
5
 
6
  ``` cpp
7
  namespace std {
8
  class bernoulli_distribution {
9
  public: