Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
multinomial_rng.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/err/check_simplex.hpp>
#include <stan/math/prim/scal/err/check_positive.hpp>
#include <stan/math/prim/scal/prob/binomial_rng.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

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

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