25 #ifndef UQ_GAUSSIAN_LIKELIHOOD_DIAG_COV_H
26 #define UQ_GAUSSIAN_LIKELIHOOD_DIAG_COV_H
28 #include <queso/GaussianLikelihood.h>
42 template <
class V = GslVector,
class M = GslMatrix>
55 const V & covariance);
62 virtual double actualValue(
const V & domainVector,
const V * domainDirection,
63 V * gradVector, M * hessianMatrix, V * hessianEffect)
const;
66 virtual double lnValue(
const V & domainVector,
const V * domainDirection,
67 V * gradVector, M * hessianMatrix, V * hessianEffect)
const;
75 #endif // UQ_GAUSSIAN_LIKELIHOOD_DIAG_COV_H
A class that represents a Gaussian likelihood with diagonal covariance matrix.
virtual double lnValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Logarithm of the value of the scalar function.
A templated class for handling sets.
virtual ~GaussianLikelihoodDiagonalCovariance()
Destructor.
virtual double actualValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Actual value of the scalar function.
const VectorSet< V, M > & domainSet() const
Access to the protected attribute m_domainSet: domain set of the scalar function. ...
Base class for canned Gaussian likelihoods.
GaussianLikelihoodDiagonalCovariance(const char *prefix, const VectorSet< V, M > &domainSet, const V &observations, const V &covariance)
Default constructor.