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");
void check_finite(const char *function, const char *name, const T_y &y)
Check if y is finite.
void check_positive(const char *function, const char *name, const T_y &y)
Check if y is positive.
double uniform_rng(double alpha, double beta, RNG &rng)
double skew_normal_rng(double mu, double sigma, double alpha, RNG &rng)