![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
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.
| T_y | type of scalar |
| T_Mu | type of location |
| T_Sigma | type of Sigma |
| T_D | type of D |
| 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. |
Definition at line 36 of file matrix_normal_prec_lpdf.hpp.