Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
dirichlet_lpmf.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/err/check_consistent_sizes.hpp>
#include <stan/math/prim/scal/err/check_positive.hpp>
#include <stan/math/prim/mat/err/check_simplex.hpp>
#include <stan/math/prim/mat/fun/lgamma.hpp>
#include <stan/math/prim/mat/fun/digamma.hpp>
#include <stan/math/prim/mat/fun/value_of.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_lpmf (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_lpmf (const T_prob &theta, const T_prior_size &alpha)
 

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