1#ifndef STAN_MATH_PRIM_PROB_WISHART_LOG_HPP
2#define STAN_MATH_PRIM_PROB_WISHART_LOG_HPP
43template <
bool propto,
typename T_y,
typename T_dof,
typename T_scale>
46 return wishart_lpdf<propto>(W, nu, S);
52template <
typename T_y,
typename T_dof,
typename T_scale>
56 return wishart_lpdf<T_y, T_dof, T_scale>(W, nu, S);
return_type_t< T_y, T_dof, T_scale > wishart_log(const T_y &W, const T_dof &nu, const T_scale &S)
The log of the 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 ...