Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
dirichlet_log.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/prob/dirichlet_lpmf.hpp>
#include <boost/math/tools/promotion.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<bool propto, typename T_prob , typename T_prior_size >
return_type< T_prob, T_prior_size >::type stan::math::dirichlet_log (const T_prob &theta, const T_prior_size &alpha)
 The log of the Dirichlet density for the given theta and a vector of prior sample sizes, alpha. More...
 
template<typename T_prob , typename T_prior_size >
return_type< T_prob, T_prior_size >::type stan::math::dirichlet_log (const T_prob &theta, const T_prior_size &alpha)
 

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