Stan Math Library  2.20.0
reverse mode automatic differentiation
multi_student_t_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_PROB_MULTI_STUDENT_T_LOG_HPP
2 #define STAN_MATH_PRIM_MAT_PROB_MULTI_STUDENT_T_LOG_HPP
3 
6 
7 namespace stan {
8 namespace math {
9 
18 template <bool propto, typename T_y, typename T_dof, typename T_loc,
19  typename T_scale>
21  const T_y& y, const T_dof& nu, const T_loc& mu, const T_scale& Sigma) {
22  return multi_student_t_lpdf<propto, T_y, T_dof, T_loc, T_scale>(y, nu, mu,
23  Sigma);
24 }
25 
29 template <typename T_y, typename T_dof, typename T_loc, typename T_scale>
31 multi_student_t_log(const T_y& y, const T_dof& nu, const T_loc& mu,
32  const T_scale& Sigma) {
33  return multi_student_t_lpdf<T_y, T_dof, T_loc, T_scale>(y, nu, mu, Sigma);
34 }
35 
36 } // namespace math
37 } // namespace stan
38 #endif
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_y, T_dof, T_loc, T_scale >::type multi_student_t_log(const T_y &y, const T_dof &nu, const T_loc &mu, const T_scale &Sigma)
Return the log of the multivariate Student t distribution at the specified arguments.

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