queso-0.53.0
|
A templated base class for handling vector RV. More...
#include <VectorRV.h>
Public Member Functions | |
Constructor/Destructor methods | |
BaseVectorRV (const char *prefix, const VectorSet< V, M > &imageSet) | |
Constructor. More... | |
virtual | ~BaseVectorRV () |
Virtual destructor. More... | |
Random variable-handling methods | |
const BaseEnvironment & | env () const |
QUESO environment; access to private attribute m_env. More... | |
const VectorSet< V, M > & | imageSet () const |
Image set of the vector RV; access to private attribute m_imageSet. More... | |
const BaseJointPdf< V, M > & | pdf () const |
Posterior Density Function of the vector RV; access to private attribute m_pdf. More... | |
const BaseVectorRealizer< V, M > & | realizer () const |
Finds a realization (sample) of the PDF of this vector RV; access to private attribute m_realizer. More... | |
const BaseVectorCdf< V, M > & | subCdf () const |
Finds the Cumulative Distribution Function of this vector RV, considering only the sub-sequence of data; access to private attribute m_subCdf. More... | |
const BaseVectorCdf< V, M > & | unifiedCdf () const |
Finds the Cumulative Distribution Function of this vector RV, considering the unified sequence of data; access to private attribute m_unifiedCdf. More... | |
const BaseVectorMdf< V, M > & | mdf () const |
Finds the Mass Density Function of this vector RV; access to private attribute m_mdf. More... | |
Protected Attributes | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_imageSet |
BaseJointPdf< V, M > * | m_pdf |
BaseVectorRealizer< V, M > * | m_realizer |
const BaseVectorCdf< V, M > * | m_subCdf |
const BaseVectorCdf< V, M > * | m_unifiedCdf |
const BaseVectorMdf< V, M > * | m_mdf |
I/O methods | |
virtual void | print (std::ostream &os) const =0 |
TODO: Prints the vector RV. More... | |
std::ostream & | operator<< (std::ostream &os, const BaseVectorRV< V, M > &obj) |
A templated base class for handling vector RV.
This class allows two basic but quite crucial functionalities: to compute the value of the PDF of a random variable (RV) at a point and to generate realizations (samples) from such PDF.
Definition at line 54 of file VectorRV.h.
QUESO::BaseVectorRV< V, M >::BaseVectorRV | ( | const char * | prefix, |
const VectorSet< V, M > & | imageSet | ||
) |
Constructor.
Constructs a new instance of BaseVectorRV, given a prefix and the image set of the vector RV.
Definition at line 33 of file VectorRV.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorRV< V, M >::m_env, QUESO::BaseVectorRV< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
Virtual destructor.
Definition at line 60 of file VectorRV.C.
const BaseEnvironment & QUESO::BaseVectorRV< V, M >::env | ( | ) | const |
QUESO environment; access to private attribute m_env.
Definition at line 72 of file VectorRV.C.
Referenced by QUESO::ComputeCovCorrMatricesBetweenVectorRvs().
const VectorSet< V, M > & QUESO::BaseVectorRV< V, M >::imageSet | ( | ) | const |
Image set of the vector RV; access to private attribute m_imageSet.
Definition at line 79 of file VectorRV.C.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ComputeCovCorrMatricesBetweenVectorRvs(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GcmTotalInfo< S_V, S_M, D_V, D_M, P_V, P_M, Q_V, Q_M >::initializeTotalDim(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), and QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
const BaseVectorMdf< V, M > & QUESO::BaseVectorRV< V, M >::mdf | ( | ) | const |
Finds the Mass Density Function of this vector RV; access to private attribute m_mdf.
Definition at line 122 of file VectorRV.C.
References queso_require_msg.
Referenced by QUESO::GenericVectorRV< V, M >::GenericVectorRV().
const BaseJointPdf< V, M > & QUESO::BaseVectorRV< V, M >::pdf | ( | ) | const |
Posterior Density Function of the vector RV; access to private attribute m_pdf.
Definition at line 86 of file VectorRV.C.
References queso_require_msg.
Referenced by QUESO::GenericVectorRV< V, M >::GenericVectorRV().
|
pure virtual |
TODO: Prints the vector RV.
Implemented in QUESO::GaussianVectorRV< V, M >, QUESO::GaussianVectorRV< Q_V, Q_M >, QUESO::GenericVectorRV< V, M >, QUESO::GenericVectorRV< P_V, P_M >, QUESO::GenericVectorRV< Q_V, Q_M >, QUESO::InvLogitGaussianVectorRV< V, M >, QUESO::BetaVectorRV< V, M >, QUESO::BetaVectorRV< P_V, P_M >, QUESO::GammaVectorRV< V, M >, QUESO::GammaVectorRV< P_V, P_M >, QUESO::InverseGammaVectorRV< V, M >, QUESO::ConcatenatedVectorRV< V, M >, QUESO::ConcatenatedVectorRV< P_V, P_M >, QUESO::LogNormalVectorRV< V, M >, QUESO::WignerVectorRV< V, M >, QUESO::UniformVectorRV< V, M >, and QUESO::JeffreysVectorRV< V, M >.
const BaseVectorRealizer< V, M > & QUESO::BaseVectorRV< V, M >::realizer | ( | ) | const |
Finds a realization (sample) of the PDF of this vector RV; access to private attribute m_realizer.
Definition at line 95 of file VectorRV.C.
References queso_require_msg.
Referenced by QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::actualGenerateSequence(), QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::actualReadSequence(), QUESO::ComputeCovCorrMatricesBetweenVectorRvs(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), and QUESO::MonteCarloSG< P_V, P_M, Q_V, Q_M >::internGenerateSequence().
const BaseVectorCdf< V, M > & QUESO::BaseVectorRV< V, M >::subCdf | ( | ) | const |
Finds the Cumulative Distribution Function of this vector RV, considering only the sub-sequence of data; access to private attribute m_subCdf.
Definition at line 104 of file VectorRV.C.
References queso_require_msg.
Referenced by QUESO::GenericVectorRV< V, M >::GenericVectorRV().
const BaseVectorCdf< V, M > & QUESO::BaseVectorRV< V, M >::unifiedCdf | ( | ) | const |
Finds the Cumulative Distribution Function of this vector RV, considering the unified sequence of data; access to private attribute m_unifiedCdf.
Definition at line 113 of file VectorRV.C.
References queso_require_msg.
Referenced by QUESO::GenericVectorRV< V, M >::GenericVectorRV().
|
friend |
Definition at line 98 of file VectorRV.h.
|
protected |
Definition at line 115 of file VectorRV.h.
Referenced by QUESO::BaseVectorRV< V, M >::BaseVectorRV(), QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 117 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 122 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 118 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 116 of file VectorRV.h.
Referenced by QUESO::BaseVectorRV< V, M >::BaseVectorRV(), QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 119 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 120 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().
|
protected |
Definition at line 121 of file VectorRV.h.
Referenced by QUESO::BetaVectorRV< V, M >::BetaVectorRV(), QUESO::ConcatenatedVectorRV< V, M >::ConcatenatedVectorRV(), QUESO::GammaVectorRV< V, M >::GammaVectorRV(), QUESO::GaussianVectorRV< V, M >::GaussianVectorRV(), QUESO::GenericVectorRV< V, M >::GenericVectorRV(), QUESO::InverseGammaVectorRV< V, M >::InverseGammaVectorRV(), QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV(), QUESO::JeffreysVectorRV< V, M >::JeffreysVectorRV(), QUESO::LogNormalVectorRV< V, M >::LogNormalVectorRV(), QUESO::UniformVectorRV< V, M >::UniformVectorRV(), and QUESO::WignerVectorRV< V, M >::WignerVectorRV().