1 #ifndef STAN_MATH_PRIM_SCAL_PROB_SKEW_NORMAL_RNG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_SKEW_NORMAL_RNG_HPP
4 #include <boost/random/variate_generator.hpp>
5 #include <boost/math/distributions.hpp>
25 boost::math::skew_normal_distribution<> dist(mu, sigma, alpha);
27 static const char*
function(
"skew_normal_rng");
double skew_normal_rng(const double mu, const double sigma, const double alpha, RNG &rng)
bool check_positive(const char *function, const char *name, const T_y &y)
Return true if y is positive.
double uniform_rng(const double alpha, const double beta, RNG &rng)
bool check_finite(const char *function, const char *name, const T_y &y)
Return true if y is finite.