| 
    queso-0.56.0
    
   | 
 
A class for handling sampling from a Uniform probability density distribution. More...
#include <UniformVectorRealizer.h>


Public Member Functions | |
Constructor/Destructor methods  | |
| UniformVectorRealizer (const char *prefix, const VectorSet< V, M > &unifiedImageSet) | |
| Constructor.  More... | |
| ~UniformVectorRealizer () | |
| Destructor.  More... | |
Realization-related methods  | |
| void | realization (V &nextValues) const | 
| Draws a realization.  More... | |
  Public Member Functions inherited from QUESO::BaseVectorRealizer< V, M > | |
| BaseVectorRealizer (const char *prefix, const VectorSet< V, M > &unifiedImageSet, unsigned int subPeriod) | |
| Default constructor.  More... | |
| virtual | ~BaseVectorRealizer () | 
| Virtual destructor.  More... | |
| const VectorSet< V, M > & | unifiedImageSet () const | 
| Image set where the realizations lie. Access to protected attribute m_unifiedImageSet.  More... | |
| unsigned int | subPeriod () const | 
| Sub-period of the realization. Access to protected attribute m_subPeriod.  More... | |
Additional Inherited Members | |
  Protected Attributes inherited from QUESO::BaseVectorRealizer< V, M > | |
| const BaseEnvironment & | m_env | 
| std::string | m_prefix | 
| const VectorSet< V, M > & | m_unifiedImageSet | 
| unsigned int | m_subPeriod | 
A class for handling sampling from a Uniform probability density distribution.
This class handles sampling from a uniform probability density distribution.
Definition at line 45 of file UniformVectorRealizer.h.
| QUESO::UniformVectorRealizer< V, M >::UniformVectorRealizer | ( | const char * | prefix, | 
| const VectorSet< V, M > & | unifiedImageSet | ||
| ) | 
Constructor.
Constructs a new object, given a prefix and the image set of the vector realizer.
Note: If unifiedImageSet is unbounded, it does not make sense to ask for realizations. 
Definition at line 35 of file UniformVectorRealizer.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseVectorRealizer< V, M >::m_env, QUESO::BaseVectorRealizer< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
| QUESO::UniformVectorRealizer< V, M >::~UniformVectorRealizer | ( | ) | 
      
  | 
  virtual | 
Draws a realization.
This function draws a realization of a uniform distribution and saves it in nextValues. It internally finds the minimum and the maximum values of the distribution.
Note: If the state space is unbounded, the distribution is improper and realizations do not make sense.
Implements QUESO::BaseVectorRealizer< V, M >.
Definition at line 61 of file UniformVectorRealizer.C.
References QUESO::BoxSubset< V, M >::maxValues(), QUESO::BoxSubset< V, M >::minValues(), QUESO::queso_isfinite(), queso_require_msg, and QUESO::VectorSet< V, M >::volume().