1 #ifndef STAN_MATH_PRIM_SCAL_PROB_EXP_MOD_NORMAL_RNG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_EXP_MOD_NORMAL_RNG_HPP 16 #include <boost/random/normal_distribution.hpp> 17 #include <boost/random/variate_generator.hpp> 28 static const char*
function(
"exp_mod_normal_rng");
void check_finite(const char *function, const char *name, const T_y &y)
Check if y is finite.
double exponential_rng(double beta, RNG &rng)
double normal_rng(double mu, double sigma, RNG &rng)
void check_positive_finite(const char *function, const char *name, const T_y &y)
Check if y is positive and finite.
double exp_mod_normal_rng(double mu, double sigma, double lambda, RNG &rng)