![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/err/check_bounded.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <boost/random/bernoulli_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_theta , class RNG > | |
VectorBuilder< true, int, T_theta >::type | stan::math::bernoulli_rng (const T_theta &theta, RNG &rng) |
Return a Bernoulli random variate with specified chance of success parameter using the specified random number generator. More... | |