Automatic Differentiation
 
Loading...
Searching...
No Matches
wishart_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_WISHART_LOG_HPP
2#define STAN_MATH_PRIM_PROB_WISHART_LOG_HPP
3
7
8namespace stan {
9namespace math {
10
43template <bool propto, typename T_y, typename T_dof, typename T_scale>
44return_type_t<T_y, T_dof, T_scale> wishart_log(const T_y& W, const T_dof& nu,
45 const T_scale& S) {
46 return wishart_lpdf<propto>(W, nu, S);
47}
48
52template <typename T_y, typename T_dof, typename T_scale>
54 const T_dof& nu,
55 const T_scale& S) {
56 return wishart_lpdf<T_y, T_dof, T_scale>(W, nu, S);
57}
58
59} // namespace math
60} // namespace stan
61#endif
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 ...
Definition fvar.hpp:9