queso-0.53.0
|
A class that represents a Gaussian likelihood with full covariance. More...
#include <GaussianLikelihoodFullCovariance.h>
Public Member Functions | |
virtual double | actualValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const |
Actual value of the scalar function. More... | |
virtual double | lnValue (const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const |
Logarithm of the value of the scalar function. More... | |
Constructor/Destructor methods. | |
GaussianLikelihoodFullCovariance (const char *prefix, const VectorSet< V, M > &domainSet, const V &observations, const M &covariance, double covarianceCoefficient=1.0) | |
Default constructor. More... | |
virtual | ~GaussianLikelihoodFullCovariance () |
Destructor. More... | |
Public Member Functions inherited from QUESO::BaseGaussianLikelihood< V, M > | |
virtual void | evaluateModel (const V &domainVector, const V *domainDirection, V &modelOutput, V *gradVector, M *hessianMatrix, V *hessianEffect) const =0 |
Evaluates the user's model at the point domainVector . More... | |
BaseGaussianLikelihood (const char *prefix, const VectorSet< V, M > &domainSet, const V &observations) | |
Default constructor. More... | |
virtual | ~BaseGaussianLikelihood () |
Destructor. More... | |
Public Member Functions inherited from QUESO::BaseScalarFunction< V, M > | |
BaseScalarFunction (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseScalarFunction () |
Destructor. More... | |
const VectorSet< V, M > & | domainSet () const |
Access to the protected attribute m_domainSet: domain set of the scalar function. More... | |
Private Attributes | |
double | m_covarianceCoefficient |
const M & | m_covariance |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::BaseGaussianLikelihood< V, M > | |
const V & | m_observations |
Protected Attributes inherited from QUESO::BaseScalarFunction< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_domainSet |
Domain set of the scalar function. More... | |
A class that represents a Gaussian likelihood with full covariance.
Definition at line 43 of file GaussianLikelihoodFullCovariance.h.
QUESO::GaussianLikelihoodFullCovariance< V, M >::GaussianLikelihoodFullCovariance | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet, | ||
const V & | observations, | ||
const M & | covariance, | ||
double | covarianceCoefficient = 1.0 |
||
) |
Default constructor.
Instantiates a Gaussian likelihood function, given a prefix, its domain, a set of observations and a full covariance matrix. The full covariance matrix is stored as a matrix in the covariance
parameter.
The parameter covarianceCoefficient
is a multiplying factor of covaraince
and is fixed (i.e. not solved for in a statistical inversion).
Definition at line 35 of file GaussianLikelihoodFullCovariance.C.
References queso_error_msg.
|
virtual |
|
virtual |
Actual value of the scalar function.
Implements QUESO::BaseScalarFunction< V, M >.
Definition at line 54 of file GaussianLikelihoodFullCovariance.C.
|
virtual |
Logarithm of the value of the scalar function.
Implements QUESO::BaseScalarFunction< V, M >.
Definition at line 64 of file GaussianLikelihoodFullCovariance.C.
|
private |
Definition at line 75 of file GaussianLikelihoodFullCovariance.h.
|
private |
Definition at line 74 of file GaussianLikelihoodFullCovariance.h.