queso-0.57.1
|
A templated (base) class for handling MDFs of vector functions. More...
#include <VectorMdf.h>
Public Member Functions | |
Constructor/Destructor methods | |
BaseVectorMdf (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseVectorMdf () |
Virtual destructor. More... | |
Mathematical methods | |
const VectorSet< V, M > & | domainSet () const |
Returns the domain set; access to protected attribute m_domainSet. More... | |
virtual void | values (const V ¶mValues, V &mdfVec) const =0 |
Finds the value of the vector MDF at each element of paramValue , and saves it in mdfVec . See template specialization. More... | |
I/O methods | |
virtual void | print (std::ostream &os) const =0 |
Prints the vector MDF. See template specialization. More... | |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_domainSet |
A templated (base) class for handling MDFs of vector functions.
To obtain the marginal distribution over a subset of multivariate (vector) RVs, one only needs to drop the irrelevant variables (the variables that one wants to marginalize out). If X is a Random Vector which contains the continuous random variables \( X_1, X_2, ..., X_n \). Then each \( X_i \) is a continuous random variable with its own Probability Distribution called the marginal distribution of \( X_i \). This class handles MDFs of a vector RV.
Definition at line 52 of file VectorMdf.h.
QUESO::BaseVectorMdf< V, M >::BaseVectorMdf | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet | ||
) |
Default constructor.
Instantiates an object of the class given a prefix and domain set of the MDF.
Definition at line 31 of file VectorMdf.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorMdf< V, M >::m_env, QUESO::BaseVectorMdf< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
const VectorSet< V, M > & QUESO::BaseVectorMdf< V, M >::domainSet | ( | ) | const |
Returns the domain set; access to protected attribute m_domainSet.
Definition at line 59 of file VectorMdf.C.
|
pure virtual |
Prints the vector MDF. See template specialization.
Implemented in QUESO::GaussianVectorMdf< V, M >, QUESO::SampledVectorMdf< V, M >, and QUESO::GenericVectorMdf< V, M >.
|
pure virtual |
Finds the value of the vector MDF at each element of paramValue
, and saves it in mdfVec
. See template specialization.
Implemented in QUESO::GaussianVectorMdf< V, M >, QUESO::SampledVectorMdf< V, M >, and QUESO::GenericVectorMdf< V, M >.
|
protected |
Definition at line 84 of file VectorMdf.h.
|
protected |
Definition at line 82 of file VectorMdf.h.
Referenced by QUESO::BaseVectorMdf< V, M >::BaseVectorMdf(), QUESO::GaussianVectorMdf< V, M >::GaussianVectorMdf(), and QUESO::SampledVectorMdf< V, M >::SampledVectorMdf().
|
protected |
Definition at line 83 of file VectorMdf.h.
Referenced by QUESO::BaseVectorMdf< V, M >::BaseVectorMdf(), QUESO::GaussianVectorMdf< V, M >::GaussianVectorMdf(), and QUESO::SampledVectorMdf< V, M >::SampledVectorMdf().