1#ifndef STAN_MATH_PRIM_PROB_INV_WISHART_LOG_HPP
2#define STAN_MATH_PRIM_PROB_INV_WISHART_LOG_HPP
31template <
bool propto,
typename T_y,
typename T_dof,
typename T_scale>
35 return inv_wishart_lpdf<propto>(W, nu, S);
41template <
typename T_y,
typename T_dof,
typename T_scale>
45 return inv_wishart_lpdf<>(W, nu, S);
return_type_t< T_y, T_dof, T_scale > inv_wishart_log(const T_y &W, const T_dof &nu, const T_scale &S)
The log of the Inverse-Wishart density for the given W, degrees of freedom, and scale matrix.
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 ...