25 #ifndef UQ_CONCAT_JOINT_PROB_DENSITY_H
26 #define UQ_CONCAT_JOINT_PROB_DENSITY_H
30 #include <boost/math/special_functions.hpp>
32 #include <queso/JointPdf.h>
33 #include <queso/Environment.h>
34 #include <queso/ScalarFunction.h>
35 #include <queso/BoxSubset.h>
54 template <
class V = GslVector,
class M = GslMatrix>
82 double actualValue (
const V& domainVector,
const V* domainDirection, V* gradVector, M* hessianMatrix, V* hessianEffect)
const;
86 double lnValue (
const V& domainVector,
const V* domainDirection, V* gradVector, M* hessianMatrix, V* hessianEffect)
const;
108 #endif // UQ_CONCAT_JOINT_PROB_DENSITY_H
~ConcatenatedJointPdf()
Destructor.
A templated class for handling sets.
A templated (base) class for handling joint PDFs.
A templated (base) class for handling scalar functions.
ConcatenatedJointPdf(const char *prefix, const BaseJointPdf< V, M > &density1, const BaseJointPdf< V, M > &density2, const VectorSet< V, M > &concatenatedDomain)
Constructor.
double actualValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Calculates the actual values of each density.
A class for handling concatenated PDFs.
double computeLogOfNormalizationFactor(unsigned int numSamples, bool updateFactorInternally) const
Computes the logarithm of the normalization factor.
void setNormalizationStyle(unsigned int value) const
Sets the normalization style of all densities to value.
std::vector< const BaseJointPdf< V, M > * > m_densities
double lnValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Calculates the logarithm of the values of each density.