Return a double exponential random variate with 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 | class of random number generator |
- Parameters
-
| mu | (Sequence of) location parameter(s) |
| sigma | (Sequence of) scale parameter(s) |
| rng | random number generator |
- Returns
- (Sequence of) double exponential 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 36 of file double_exponential_rng.hpp.