Stan Math Library  2.20.0
reverse mode automatic differentiation
ordered_probit_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_PROB_ORDERED_PROBIT_LOG_HPP
2 #define STAN_MATH_PRIM_MAT_PROB_ORDERED_PROBIT_LOG_HPP
3 
6 
7 namespace stan {
8 namespace math {
9 
40 template <bool propto, typename T_y, typename T_loc, typename T_cut>
42  const T_loc& lambda,
43  const T_cut& c) {
44  return ordered_probit_lpmf<propto>(y, lambda, c);
45 }
46 
50 template <typename T_y, typename T_loc, typename T_cut>
52  const T_loc& lambda,
53  const T_cut& c) {
54  return ordered_probit_lpmf(y, lambda, c);
55 }
56 
57 } // namespace math
58 } // namespace stan
59 #endif
return_type< T_loc, T_cut >::type ordered_probit_lpmf(int y, const T_loc &lambda, const Eigen::Matrix< T_cut, Eigen::Dynamic, 1 > &c)
Returns the (natural) log probability of the specified integer outcome given the continuous location ...
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
Definition: return_type.hpp:36
return_type< T_loc, T_cut >::type ordered_probit_log(const T_y &y, const T_loc &lambda, const T_cut &c)
Returns the (natural) log probability of the integer/s given the vector of continuous location/s and ...

     [ Stan Home Page ] © 2011–2018, Stan Development Team.