|
TMB Documentation
v1.9.11
|
Multivariate normal distribution with user supplied covariance matrix. More...
#include <density.hpp>
Public Member Functions | |
| matrixtype | cov () |
| Covariance matrix extractor. More... | |
| scalartype | operator() (vectortype x) |
| Evaluate the negative log density. | |
| scalartype | operator() (vectortype x, vectortype keep) |
| Evaluate projected negative log density. More... | |
Multivariate normal distribution with user supplied covariance matrix.
Class to evaluate the negative log density of a mean zero multivariate Gaussian variable with general covariance matrix Sigma. Intended for small dense covariance matrices.
Definition at line 112 of file density.hpp.
|
inline |
Covariance matrix extractor.
Typical use:
Useful for classes such as UNSTRUCTURED_CORR_t that inherits from MVNORM_t.
Definition at line 134 of file density.hpp.
|
inline |
Evaluate projected negative log density.
| keep | Vector of 0/1 indicating marginal to evaluate. |
Definition at line 162 of file density.hpp.