1#ifndef STAN_MATH_PRIM_PROB_STD_NORMAL_RNG_HPP
2#define STAN_MATH_PRIM_PROB_STD_NORMAL_RNG_HPP
5#include <boost/random/normal_distribution.hpp>
6#include <boost/random/variate_generator.hpp>
21 using boost::normal_distribution;
22 using boost::variate_generator;
24 variate_generator<RNG&, normal_distribution<>> norm_rng(
25 rng, normal_distribution<>(0, 1));
double std_normal_rng(RNG &rng)
Return a standard Normal random variate using the specified random number generator.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...