Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y, T_Mu, T_Sigma, T_D > stan::math::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 precision matrices, not covariance matrices.
matrix_normal_prec_lpdf
y | An mxn matrix. |
Mu | The mean matrix. |
Sigma | The mxm inverse covariance matrix (i.e., the precision matrix) of the rows of y. |
D | The nxn inverse covariance matrix (i.e., the precision matrix) of the columns of y. |
std::domain_error | if Sigma or D are not square, not symmetric, or not semi-positive definite. |
T_y | Type of scalar. |
T_Mu | Type of location. |
T_Sigma | Type of Sigma. |
T_D | Type of D. |
Definition at line 34 of file matrix_normal_prec_log.hpp.