template<typename T_loc , typename T_scale , typename T_skewness , class RNG >
VectorBuilder< true, double, T_loc, T_scale, T_skewness >::type stan::math::skew_double_exponential_rng |
( |
const T_loc & |
mu, |
|
|
const T_scale & |
sigma, |
|
|
const T_skewness & |
tau, |
|
|
RNG & |
rng |
|
) |
| |
|
inline |
Return a skew double exponential random variate with the given location scale and skewness using the specified random number generator.
mu, sigma and tau 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 |
T_skewness | Type of skewness parameter |
RNG | class of random number generator |
- Parameters
-
mu | (Sequence of) location parameter(s) |
sigma | (Sequence of) scale parameter(s) |
tau | (Sequence of) skewness 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 or tau is not bound between 0.0 and 1.0 |
std::invalid_argument | if non-scalar arguments are of different sizes |
Definition at line 38 of file skew_double_exponential_rng.hpp.