1 #ifndef STAN_MATH_PRIM_MAT_PROB_INV_WISHART_LOG_HPP 2 #define STAN_MATH_PRIM_MAT_PROB_INV_WISHART_LOG_HPP 6 #include <boost/math/tools/promotion.hpp> 31 template <
bool propto,
32 typename T_y,
typename T_dof,
typename T_scale>
33 typename boost::math::tools::promote_args<T_y, T_dof, T_scale>::type
37 <T_scale, Eigen::Dynamic, Eigen::Dynamic>& S) {
38 return inv_wishart_lpdf<propto, T_y, T_dof, T_scale>(W, nu, S);
44 template <
typename T_y,
typename T_dof,
typename T_scale>
46 typename boost::math::tools::promote_args<T_y, T_dof, T_scale>::type
50 <T_scale, Eigen::Dynamic, Eigen::Dynamic>& S) {
51 return inv_wishart_lpdf<T_y, T_dof, T_scale>(W, nu, S);
boost::math::tools::promote_args< T_y, T_dof, T_scale >::type inv_wishart_log(const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &W, const T_dof &nu, const Eigen::Matrix< T_scale, Eigen::Dynamic, Eigen::Dynamic > &S)
The log of the Inverse-Wishart density for the given W, degrees of freedom, and scale matrix...