|
queso-0.51.1
|
A class representing a (transformed) Gaussian vector RV with bounds. More...
#include <InvLogitGaussianVectorRV.h>


Public Member Functions | |
Constructor/Destructor methods | |
| InvLogitGaussianVectorRV (const char *prefix, const BoxSubset< V, M > &imageBoxSubset, const V &lawExpVector, const V &lawVarVector) | |
| Constructor. More... | |
| InvLogitGaussianVectorRV (const char *prefix, const BoxSubset< V, M > &imageBoxSubset, const V &lawExpVector, const M &lawCovMatrix) | |
| Constructor. More... | |
| virtual | ~InvLogitGaussianVectorRV () |
| Virtual destructor. More... | |
Statistical methods | |
| void | updateLawExpVector (const V &newLawExpVector) |
| Updates the vector that contains the mean values for the underlying Gaussian. More... | |
| void | updateLawCovMatrix (const M &newLawCovMatrix) |
| Updates the covariance matrix. More... | |
I/O methods | |
| void | print (std::ostream &os) const |
| TODO: Prints the vector RV. More... | |
Public Member Functions inherited from QUESO::BaseVectorRV< V, M > | |
| BaseVectorRV (const char *prefix, const VectorSet< V, M > &imageSet) | |
| Constructor. More... | |
| virtual | ~BaseVectorRV () |
| Virtual destructor. More... | |
| 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... | |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::BaseVectorRV< V, M > | |
| 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 |
A class representing a (transformed) Gaussian vector RV with bounds.
This class allows the user to compute the value of a (transoformed) Gaussian PDF and to generate realizations (samples) from it.
Definition at line 42 of file InvLogitGaussianVectorRV.h.
| QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV | ( | const char * | prefix, |
| const BoxSubset< V, M > & | imageBoxSubset, | ||
| const V & | lawExpVector, | ||
| const V & | lawVarVector | ||
| ) |
Constructor.
Construct a (transformed) Gaussian vector RV with mean lawExpVector (of the Gaussian, not the transformed Gaussian) and diagonal covariance matrix lawVarVector whose variates live in imageBoxSubset.
Definition at line 35 of file InvLogitGaussianVectorRV.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorRV< V, M >::m_env, QUESO::BaseVectorRV< V, M >::m_imageSet, QUESO::BaseVectorRV< V, M >::m_mdf, QUESO::BaseVectorRV< V, M >::m_pdf, QUESO::BaseVectorRV< V, M >::m_prefix, QUESO::BaseVectorRV< V, M >::m_realizer, QUESO::BaseVectorRV< V, M >::m_subCdf, QUESO::BaseVectorRV< V, M >::m_unifiedCdf, QUESO::BaseEnvironment::subDisplayFile(), UQ_FATAL_TEST_MACRO, and QUESO::BaseEnvironment::worldRank().
| QUESO::InvLogitGaussianVectorRV< V, M >::InvLogitGaussianVectorRV | ( | const char * | prefix, |
| const BoxSubset< V, M > & | imageBoxSubset, | ||
| const V & | lawExpVector, | ||
| const M & | lawCovMatrix | ||
| ) |
Constructor.
Construct a (transformed) Gaussian vector RV with mean lawExpVector (of the Gaussian, not the transformed Gaussian) and covariance matrix lawCovMatrix whose variates live in imageBoxSubset.
Definition at line 79 of file InvLogitGaussianVectorRV.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorRV< V, M >::m_env, QUESO::BaseVectorRV< V, M >::m_imageSet, QUESO::BaseVectorRV< V, M >::m_mdf, QUESO::BaseVectorRV< V, M >::m_pdf, QUESO::BaseVectorRV< V, M >::m_prefix, QUESO::BaseVectorRV< V, M >::m_realizer, QUESO::BaseVectorRV< V, M >::m_subCdf, QUESO::BaseVectorRV< V, M >::m_unifiedCdf, QUESO::BaseEnvironment::subDisplayFile(), UQ_FATAL_TEST_MACRO, and QUESO::BaseEnvironment::worldRank().
|
virtual |
Virtual destructor.
Definition at line 138 of file InvLogitGaussianVectorRV.C.
|
virtual |
TODO: Prints the vector RV.
Implements QUESO::BaseVectorRV< V, M >.
Definition at line 201 of file InvLogitGaussianVectorRV.C.
| void QUESO::InvLogitGaussianVectorRV< V, M >::updateLawCovMatrix | ( | const M & | newLawCovMatrix | ) |
Updates the covariance matrix.
This method tries to use Cholesky decomposition; and if it fails, the method then calls a SVD decomposition.
Definition at line 162 of file InvLogitGaussianVectorRV.C.
References UQ_FATAL_TEST_MACRO.
Referenced by QUESO::TransformedScaledCovMatrixTKGroup< V, M >::updateLawCovMatrix().
| void QUESO::InvLogitGaussianVectorRV< V, M >::updateLawExpVector | ( | const V & | newLawExpVector | ) |
Updates the vector that contains the mean values for the underlying Gaussian.
Definition at line 149 of file InvLogitGaussianVectorRV.C.
Referenced by QUESO::TransformedScaledCovMatrixTKGroup< V, M >::rv().