1 #ifndef STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_LOG_HPP 2 #define STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_LOG_HPP 6 #include <boost/math/tools/promotion.hpp> 37 template <
bool propto,
typename T_lambda,
typename T_cut>
38 typename boost::math::tools::promote_args<T_lambda, T_cut>::type
40 const Eigen::Matrix<T_cut, Eigen::Dynamic, 1>& c) {
41 return ordered_logistic_lpmf<propto, T_lambda, T_cut>(y, lambda, c);
47 template <
typename T_lambda,
typename T_cut>
48 typename boost::math::tools::promote_args<T_lambda, T_cut>::type
50 const Eigen::Matrix<T_cut, Eigen::Dynamic, 1>& c) {
51 return ordered_logistic_lpmf<T_lambda, T_cut>(y, lambda, c);
boost::math::tools::promote_args< T_lambda, T_cut >::type ordered_logistic_log(int y, const T_lambda &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
Returns the (natural) log probability of the specified integer outcome given the continuous location ...