Return a loglogistic random variate for the given scale and shape parameters using the specified random number generator.
alpha and beta can each be a scalar or a one-dimensional container. Any non-scalar inputs must be the same size.
- Template Parameters
-
T_scale | type of scale parameter |
T_shape | type of shape parameter |
RNG | type of random number generator |
- Parameters
-
alpha | (Sequence of) positive scale parameter(s) |
beta | (Sequence of) positive shape parameter(s) |
rng | random number generator |
- Returns
- (Sequence of) loglogistic random variate(s)
- Exceptions
-
std::domain_error | if alpha or beta are nonpositive |
std::invalid_argument | if non-scalar arguments are of different sizes |
Definition at line 34 of file loglogistic_rng.hpp.