![]() |
Stan Math Library
2.15.0
reverse mode automatic differentiation
|
#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_sample_size > | |
boost::math::tools::promote_args< T_prob, T_prior_sample_size >::type | stan::math::dirichlet_log (const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta, const Eigen::Matrix< T_prior_sample_size, Eigen::Dynamic, 1 > &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_sample_size > | |
boost::math::tools::promote_args< T_prob, T_prior_sample_size >::type | stan::math::dirichlet_log (const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta, const Eigen::Matrix< T_prior_sample_size, Eigen::Dynamic, 1 > &alpha) |