Skip to content

Commit

Permalink
bernoulli_rng edits
Browse files Browse the repository at this point in the history
  • Loading branch information
mitzimorris committed Apr 10, 2024
1 parent 1282407 commit 2e5a9af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/functions-reference/binary_distributions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ function of y given chance of success `theta`
<!-- R; bernoulli_rng; (reals theta); -->
\index{{\tt \bfseries bernoulli\_rng }!{\tt (reals theta): R}|hyperpage}

`R` **`bernoulli_rng`**`(reals theta)`<br>\newline
Generate a Bernoulli variate with chance of success `theta`; may only be
used in transformed data and generated quantities blocks.
`ints` **`bernoulli_rng`**`(reals theta)`<br>\newline
Generate a Bernoulli variate with chance of success `theta` or an
array of Bernoulli variates given an array of `thetas` of the same dimensions;
may only be used in transformed data and generated quantities blocks.
For a description of argument and return types, see section
[vectorized PRNG functions](conventions_for_probability_functions.qmd#prng-vectorization).
{{< since 2.18 >}}
Expand Down

0 comments on commit 2e5a9af

Please sign in to comment.