Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.04 KB

multivariate-normal.rst

File metadata and controls

38 lines (23 loc) · 1.04 KB

Multivariate-Normal Distribution

Table of contents


The density function of the Multivariate-Normal distribution:

f(\mathbf{x}; \boldsymbol{\mu}, \boldsymbol{\Sigma}) = \dfrac{1}{\sqrt{(2\pi)^k |\boldsymbol{\Sigma}|}} \exp \left( - \frac{1}{2} (\mathbf{x} - \boldsymbol{\mu})^\top \boldsymbol{\Sigma}^{-1} (\mathbf{x} - \boldsymbol{\mu}) \right)

where k is the dimension of the real-valued vector \mathbf{x} and | \cdot | denotes the matrix determinant.

.. doxygenfunction:: dmvnorm(const vT&, const vT&, const mT&, const bool)
   :project: statslib


.. doxygenfunction:: rmvnorm(const vT&, const mT&, rand_engine_t&, const bool)
   :project: statslib