25 #ifndef UQ_GAUSSIAN_LIKELIHOOD_BLOCK_DIAG_COV_H
26 #define UQ_GAUSSIAN_LIKELIHOOD_BLOCK_DIAG_COV_H
29 #include <queso/GslBlockMatrix.h>
30 #include <queso/LikelihoodBase.h>
44 template <
class V = GslVector,
class M = GslMatrix>
74 virtual double lnValue(
const V & domainVector)
const;
83 #endif // UQ_GAUSSIAN_LIKELIHOOD_BLOCK_DIAG_COV_H
virtual ~GaussianLikelihoodBlockDiagonalCovariance()
Destructor.
double & blockCoefficient(unsigned int i)
Get (non-const) multiplicative coefficient for block i.
A templated class for handling sets.
const double & getBlockCoefficient(unsigned int i) const
Get (const) multiplicative coefficient for block i.
const VectorSet< V, M > & domainSet() const
Access to the protected attribute m_domainSet: domain set of the scalar function. ...
const GslBlockMatrix & m_covariance
Class for representing block matrices using GSL library.
std::vector< double > m_covarianceCoefficients
virtual double lnValue(const V &domainVector) const
Logarithm of the value of the scalar function.
GaussianLikelihoodBlockDiagonalCovariance(const char *prefix, const VectorSet< V, M > &domainSet, const V &observations, const GslBlockMatrix &covariance)
Default constructor.
A class representing a Gaussian likelihood with block-diagonal covariance matrix. ...
Base class for canned Gaussian likelihoods.