Return a Logistic random variate for the given location and scale using the specified random number generator.
mu and sigma can each be a scalar or a one-dimensional container. Any non-scalar inputs must be the same size.
- 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) |
sigma | (Sequence of) scale parameter(s) |
rng | random number generator |
- Returns
- (Sequence of) Logistic random variate(s)
- Exceptions
-
std::domain_error | if mu is infinite or sigma is nonpositive |
std::invalid_argument | if non-scalar arguments are of different sizes |
Definition at line 34 of file logistic_rng.hpp.