Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
exponential_rng.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/err/check_positive_finite.hpp>
#include <boost/random/exponential_distribution.hpp>
#include <boost/random/variate_generator.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_inv , class RNG >
VectorBuilder< true, double, T_inv >::type stan::math::exponential_rng (const T_inv &beta, RNG &rng)
 Return a exponential random variate with inverse scale beta using the specified random number generator. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.