From 2e5a9af3151eeafc527618b78f30c8b285e68a34 Mon Sep 17 00:00:00 2001 From: Mitzi Morris Date: Wed, 10 Apr 2024 15:35:25 -0400 Subject: [PATCH] bernoulli_rng edits --- src/functions-reference/binary_distributions.qmd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/functions-reference/binary_distributions.qmd b/src/functions-reference/binary_distributions.qmd index af9eb410b..4cb07398f 100644 --- a/src/functions-reference/binary_distributions.qmd +++ b/src/functions-reference/binary_distributions.qmd @@ -75,9 +75,10 @@ function of y given chance of success `theta` \index{{\tt \bfseries bernoulli\_rng }!{\tt (reals theta): R}|hyperpage} -`R` **`bernoulli_rng`**`(reals theta)`
\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)`
\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 >}}