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