![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
|
inline |
Return a yule-simon random variate with the given shape parameter, using the given random number generator.
alpha can be a scalar or a one-dimensional container.
| T_alpha | type of shape parameter |
| RNG | type of random number generator |
| alpha | (Sequence of) shape parameter(s) |
| rng | random number generator |
| std::domain_error | if alpha is nonpositive |
Definition at line 30 of file yule_simon_rng.hpp.