![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Return a Poisson random variate with specified rate parameter using the given random number generator.
lambda can be a scalar or a one-dimensional container.
| T_rate | type of rate parameter |
| RNG | type of random number generator |
| lambda | (Sequence of) rate parameter(s) |
| rng | random number generator |
| std::domain_error | if lambda is nonpositive |
Definition at line 30 of file poisson_rng.hpp.