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

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_loc , typename T_prec , class RNG >
VectorBuilder< true, double, T_loc, T_prec >::type stan::math::beta_proportion_rng (const T_loc &mu, const T_prec &kappa, RNG &rng)
 Return a Beta random variate specified probability, location, and precision parameters: beta_proportion_rng(y | mu, kappa) = beta_rng(y | mu * kappa, (1 - mu) * kappa). More...
 

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