Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::distrib::MultiGaussian Struct Reference

Represents a multivariate Gaussian distribution. More...

#include <multigaussian.hpp>

Public Member Functions

 MultiGaussian (const Eigen::VectorXd &mu, const Eigen::MatrixXd &sigma)
 Create a multivariate Gaussian distribution. More...
 
 MultiGaussian (const Eigen::VectorXd &mu, const Eigen::MatrixXd &sigma, int w, int h)
 Create a multivariate Gaussian distribution. More...
 

Public Attributes

Eigen::VectorXd mu
 The means of each dimension.
 
Eigen::MatrixXd sigLInv
 
Eigen::MatrixXd sigL
 
Eigen::MatrixXd sigma
 The covariance matrix.
 
std::pair< uint, uint > shape
 The shape of the distribution.
 

Detailed Description

Represents a multivariate Gaussian distribution.

Constructor & Destructor Documentation

obsidian::distrib::MultiGaussian::MultiGaussian ( const Eigen::VectorXd &  mu,
const Eigen::MatrixXd &  sigma 
)

Create a multivariate Gaussian distribution.

Parameters
muThe means of each dimension of the distribution.
sigmaThe covariance matrix.
obsidian::distrib::MultiGaussian::MultiGaussian ( const Eigen::VectorXd &  mu,
const Eigen::MatrixXd &  sigma,
int  w,
int  h 
)

Create a multivariate Gaussian distribution.

Parameters
muThe means of each dimension of the distribution.
sigmaThe covariance matrix.
w,hThe shape of the distribution.

The documentation for this struct was generated from the following files: