1 #ifndef STAN_MATH_PRIM_SCAL_PROB_WEIBULL_RNG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_WEIBULL_RNG_HPP
4 #include <boost/random/weibull_distribution.hpp>
5 #include <boost/random/variate_generator.hpp>
27 using boost::variate_generator;
28 using boost::random::weibull_distribution;
30 static const char*
function(
"stan::math::weibull_rng");
37 variate_generator<RNG&, weibull_distribution<> >
38 weibull_rng(rng, weibull_distribution<>(alpha, sigma));
double weibull_rng(const double alpha, const double sigma, RNG &rng)
bool check_positive_finite(const char *function, const char *name, const T_y &y)
Return true if y is positive and finite.