Automatic Differentiation
 
Loading...
Searching...
No Matches
ordered_probit_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_ORDERED_PROBIT_LOG_HPP
2#define STAN_MATH_PRIM_PROB_ORDERED_PROBIT_LOG_HPP
3
6
7namespace stan {
8namespace math {
9
40template <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
50template <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< T_loc, T_cut > ordered_probit_lpmf(const T_y &y, const T_loc &lambda, const T_cut &c)
Returns the (natural) log probability of the specified array of integers given the vector of continuo...
return_type_t< T_loc, T_cut > 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 ...
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