1#ifndef STAN_MATH_PRIM_PROB_MATRIX_NORMAL_PREC_LOG_HPP
2#define STAN_MATH_PRIM_PROB_MATRIX_NORMAL_PREC_LOG_HPP
31template <
bool propto,
typename T_y,
typename T_Mu,
typename T_Sigma,
33 require_all_matrix_t<T_y, T_Mu, T_Sigma, T_D>* =
nullptr>
35 const T_y& y,
const T_Mu& Mu,
const T_Sigma& Sigma,
const T_D& D) {
36 return matrix_normal_prec_lpdf<propto, T_y, T_Mu, T_Sigma, T_D>(y, Mu, Sigma,
43template <
typename T_y,
typename T_Mu,
typename T_Sigma,
typename T_D,
46 const T_y& y,
const T_Mu& Mu,
const T_Sigma& Sigma,
const T_D& D) {
47 return matrix_normal_prec_lpdf<T_y, T_Mu, T_Sigma, T_D>(y, Mu, Sigma, D);
require_all_t< is_matrix< std::decay_t< Types > >... > require_all_matrix_t
Require all of the types satisfy is_matrix.
return_type_t< T_y, T_Mu, T_Sigma, T_D > matrix_normal_prec_log(const T_y &y, const T_Mu &Mu, const T_Sigma &Sigma, const T_D &D)
The log of the matrix normal density for the given y, mu, Sigma and D where Sigma and D are given as ...
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 ...