1 #ifndef STAN_MATH_PRIM_MAT_PROB_CATEGORICAL_LOGIT_LOG_HPP 2 #define STAN_MATH_PRIM_MAT_PROB_CATEGORICAL_LOGIT_LOG_HPP 6 #include <boost/math/tools/promotion.hpp> 15 template <
bool propto,
17 typename boost::math::tools::promote_args<T_prob>::type
19 const Eigen::Matrix<T_prob, Eigen::Dynamic, 1>&
21 return categorical_logit_lpmf<propto, T_prob>(n, beta);
27 template <
typename T_prob>
29 typename boost::math::tools::promote_args<T_prob>::type
31 const Eigen::Matrix<T_prob, Eigen::Dynamic, 1>&
33 return categorical_logit_lpmf<T_prob>(n, beta);
39 template <
bool propto,
41 typename boost::math::tools::promote_args<T_prob>::type
43 const Eigen::Matrix<T_prob, Eigen::Dynamic, 1>&
45 return categorical_logit_lpmf<propto, T_prob>(ns, beta);
51 template <
typename T_prob>
53 typename boost::math::tools::promote_args<T_prob>::type
55 const Eigen::Matrix<T_prob, Eigen::Dynamic, 1>&
57 return categorical_logit_lpmf<T_prob>(ns, beta);
boost::math::tools::promote_args< T_prob >::type categorical_logit_log(int n, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &beta)