Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
The log of the multivariate normal density for the given y, mu, and a Cholesky factor L of the variance matrix.
Sigma = LL', a square, semi-positive definite matrix.
Analytic expressions taken from http://qwone.com/~jason/writing/multivariateNormal.pdf written by Jason D. M. Rennie.
y | A scalar vector |
mu | The mean vector of the multivariate normal distribution. |
L | The Cholesky decomposition of a variance matrix of the multivariate normal distribution |
std::domain_error | if LL' is not square, not symmetric, or not semi-positive definite. |
T_y | Type of scalar. |
T_loc | Type of location. |
T_covar | Type of scale. |
Definition at line 42 of file multi_normal_cholesky_lpdf.hpp.