Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
categorical_rng.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <boost/random/uniform_01.hpp>
#include <boost/random/variate_generator.hpp>
#include <stan/math/prim/mat/err/check_simplex.hpp>
#include <stan/math/prim/mat/fun/cumulative_sum.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<class RNG >
int stan::math::categorical_rng (const Eigen::Matrix< double, Eigen::Dynamic, 1 > &theta, RNG &rng)
 

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