27 #include <queso/GslVector.h>
28 #include <queso/GslMatrix.h>
29 #include <queso/VectorSet.h>
30 #include <queso/LikelihoodBase.h>
34 template<
class V,
class M>
37 const V & observations)
39 m_observations(observations)
43 template<
class V,
class M>
48 template<
class V,
class M>
50 V & modelOutput, V * gradVector, M * hessianMatrix,
51 V * hessianEffect)
const
54 ss <<
"ERROR: evaluateModel() not implemented! This interface is deprecated."
56 <<
"Prefer implementing evaluateModel(const V & domainVector, V & modelOutput)"
59 queso_error_msg(ss.str());
A templated (base) class for handling scalar functions.
virtual ~LikelihoodBase()=0
Destructor, pure to make this class abstract.
A templated class for handling sets.
LikelihoodBase(const char *prefix, const VectorSet< V, M > &domainSet, const V &observations)
Default constructor.
virtual void evaluateModel(const V &domainVector, const V *domainDirection, V &modelOutput, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Deprecated. Evaluates the user's model at the point domainVector.
Base class for canned Gaussian likelihoods.