Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return a pseudorandom Poisson binomial random variable for the given vector of success parameters using the specified random number generator.
RNG | class of rng |
theta | (Sequence of) chance of success parameter(s) |
rng | random number generator |
std::domain_error | if theta is not a valid probability |
Definition at line 26 of file poisson_binomial_rng.hpp.