Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return a multivariate normal random variate with the given location and covariance using the specified random number generator.
No error checking or templating, takes the LDLT directly to avoid recomputation. Can sample from semidefinite covariance matrices.
RNG | type of pseudo-random number generator |
mu | location parameter |
S_ldlt | Eigen::LDLT of covariance matrix, semidefinite is okay |
rng | random number generator |
Definition at line 29 of file gaussian_dlm_obs_rng.hpp.