Return a Gumbel random variate with the given location and scale using the specified random number generator.
mu and beta can each be a scalar or a vector. Any non-scalar inputs must be the same length.
- Template Parameters
-
T_loc | type of location parameter |
T_scale | type of scale parameter |
RNG | type of random number generator |
- Parameters
-
mu | (Sequence of) location parameter(s) |
beta | (Sequence of) scale parameter(s) |
rng | random number generator |
- Returns
- (Sequence of) Gumbel random variate(s)
- Exceptions
-
std::domain_error | if mu is infinite or beta is nonpositive. |
std::invalid_argument | if non-scalar arguments are of different sizes |
Definition at line 34 of file gumbel_rng.hpp.