Automatic Differentiation
 
Loading...
Searching...
No Matches
dirichlet_lpmf.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_DIRICHLET_LPMF_HPP
2#define STAN_MATH_PRIM_PROB_DIRICHLET_LPMF_HPP
3
6
7namespace stan {
8namespace math {
9
13template <bool propto, typename T_prob, typename T_prior_size>
15 const T_prior_size& alpha) {
16 return dirichlet_lpdf<propto, T_prob, T_prior_size>(theta, alpha);
17}
18
19template <typename T_prob, typename T_prior_size>
21 const T_prior_size& alpha) {
22 return dirichlet_lpdf<T_prob, T_prior_size>(theta, alpha);
23}
24
25} // namespace math
26} // namespace stan
27#endif
return_type_t< T_prob, T_prior_size > dirichlet_lpmf(const T_prob &theta, const T_prior_size &alpha)
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9