1#ifndef STAN_MATH_PRIM_PROB_MULTINOMIAL_LOG_HPP
2#define STAN_MATH_PRIM_PROB_MULTINOMIAL_LOG_HPP
15template <
bool propto,
typename T_prob>
17 const T_prob& theta) {
18 return multinomial_lpmf<propto>(ns, theta);
24template <
typename T_prob>
26 const T_prob& theta) {
27 return multinomial_lpmf<false>(ns, theta);
return_type_t< T_prob > multinomial_log(const std::vector< int > &ns, const T_prob &theta)
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 ...