25 #ifndef UQ_CONCAT_JOINT_PROB_DENSITY_H
26 #define UQ_CONCAT_JOINT_PROB_DENSITY_H
30 #include <queso/JointPdf.h>
31 #include <queso/Environment.h>
32 #include <queso/ScalarFunction.h>
33 #include <queso/BoxSubset.h>
52 template <
class V = GslVector,
class M = GslMatrix>
80 double actualValue (
const V& domainVector,
const V* domainDirection, V* gradVector, M* hessianMatrix, V* hessianEffect)
const;
84 double lnValue (
const V& domainVector,
const V* domainDirection, V* gradVector, M* hessianMatrix, V* hessianEffect)
const;
112 #endif // UQ_CONCAT_JOINT_PROB_DENSITY_H
A templated (base) class for handling scalar functions.
A class for handling concatenated PDFs.
ConcatenatedJointPdf(const char *prefix, const BaseJointPdf< V, M > &density1, const BaseJointPdf< V, M > &density2, const VectorSet< V, M > &concatenatedDomain)
Constructor.
A templated class for handling sets.
virtual void distributionVariance(M &covMatrix) const
Covariance matrix of the underlying random variable.
A templated (base) class for handling joint PDFs.
double computeLogOfNormalizationFactor(unsigned int numSamples, bool updateFactorInternally) const
Computes the logarithm of the normalization factor.
std::vector< const BaseJointPdf< V, M > * > m_densities
double actualValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Calculates the actual values of each density.
double lnValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Calculates the logarithm of the values of each density.
~ConcatenatedJointPdf()
Destructor.
void setNormalizationStyle(unsigned int value) const
Sets the normalization style of all densities to value.
virtual void distributionMean(V &meanVector) const
Mean value of the underlying random variable.