queso-0.57.1
|
A templated (base) class for handling CDFs of vector functions. More...
#include <VectorCdf.h>
Public Member Functions | |
Constructor/Destructor methods | |
BaseVectorCdf (const char *prefix, const VectorSet< V, M > &pdfSupport) | |
Default constructor. More... | |
virtual | ~BaseVectorCdf () |
Virtual destructor. More... | |
Mathematical methods | |
const VectorSet< V, M > & | pdfSupport () const |
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport . More... | |
virtual void | values (const V ¶mValues, V &cdfVec) const =0 |
Finds the value of the vector CDF at each element of paramValue , and saves it in cdfVec . See template specialization. More... | |
virtual const BaseScalarCdf < double > & | cdf (unsigned int rowId) const =0 |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_pdfSupport |
I/O methods | |
virtual void | print (std::ostream &os) const =0 |
Prints the vector CDF. See template specialization. More... | |
virtual void | subWriteContents (const std::string &varNamePrefix, const std::string &fileName, const std::string &fileType, const std::set< unsigned int > &allowedSubEnvIds) const |
Writes the CDF of an allowed sub-environment to a file. More... | |
std::ostream & | operator<< (std::ostream &os, const BaseVectorCdf< V, M > &obj) |
A templated (base) class for handling CDFs of vector functions.
In many applications is necessary to consider the properties of two or more RVs simultaneously (represented within QUESO as Random Vectors, via BaseVectorRV and derived classes). When dealing simultaneously with more than one RV, ie, a vector RV, the joint cumulative distribution function must also be defined. This class handles the CDFs of vector RV, which are referred to as multivariate/vector/joint CDFs.
Definition at line 53 of file VectorCdf.h.
QUESO::BaseVectorCdf< V, M >::BaseVectorCdf | ( | const char * | prefix, |
const VectorSet< V, M > & | pdfSupport | ||
) |
Default constructor.
Instantiates an object of the class given a prefix and the support (image set) of the PDF that is related to this CDF (recall that the CDF of a continuous RV is the integral of the PDF of that RV).
Definition at line 31 of file VectorCdf.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorCdf< V, M >::m_env, QUESO::BaseVectorCdf< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
|
pure virtual |
Implemented in QUESO::SampledVectorCdf< V, M >.
Referenced by QUESO::horizontalDistances().
const VectorSet< V, M > & QUESO::BaseVectorCdf< V, M >::pdfSupport | ( | ) | const |
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport
.
Definition at line 59 of file VectorCdf.C.
Referenced by QUESO::horizontalDistances().
|
pure virtual |
Prints the vector CDF. See template specialization.
Implemented in QUESO::GaussianVectorCdf< V, M >, QUESO::SampledVectorCdf< V, M >, and QUESO::GenericVectorCdf< V, M >.
|
virtual |
Writes the CDF of an allowed sub-environment to a file.
This function does nothing and should
not be called by the user.
Reimplemented in QUESO::SampledVectorCdf< V, M >.
Definition at line 66 of file VectorCdf.C.
|
pure virtual |
Finds the value of the vector CDF at each element of paramValue
, and saves it in cdfVec
. See template specialization.
Implemented in QUESO::GaussianVectorCdf< V, M >, QUESO::SampledVectorCdf< V, M >, and QUESO::GenericVectorCdf< V, M >.
|
friend |
Definition at line 83 of file VectorCdf.h.
|
protected |
Definition at line 98 of file VectorCdf.h.
Referenced by QUESO::BaseVectorCdf< V, M >::BaseVectorCdf(), QUESO::GaussianVectorCdf< V, M >::GaussianVectorCdf(), and QUESO::SampledVectorCdf< V, M >::SampledVectorCdf().
|
protected |
Definition at line 100 of file VectorCdf.h.
|
protected |