25 #include <queso/StdScalarCdf.h> 
   34   const std::vector<T>&         cdfGrid,
 
   35   const std::vector<double>&    cdfValues)
 
   38   m_cdfGrid              (env,prefix,cdfGrid),
 
   39   m_cdfValues            (cdfValues),
 
   40   m_sampledCdfGrid       (NULL)
 
   60   delete m_sampledCdfGrid;
 
   67   return m_sampledCdfGrid->value(paramValue);
 
   74   return m_sampledCdfGrid->inverse(cdfValue);
 
   81   return m_sampledCdfGrid->getSupport(minHorizontal,maxHorizontal);
 
   88   m_sampledCdfGrid->print(os);
 
   95   const std::string&            varNamePrefix,
 
   96   const std::string&            fileName,
 
   97   const std::string&            fileType,
 
   98   const std::set<unsigned int>& allowedSubEnvIds)
 const 
  100   m_sampledCdfGrid->subWriteContents(varNamePrefix,fileName,fileType,allowedSubEnvIds);
 
unsigned int displayVerbosity() const 
 
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. 
 
A templated (base) class for handling CDFs. 
 
A class for handling sampled CDFs. 
 
const BaseEnvironment & m_env
 
const StdOneDGrid< T > m_cdfGrid
 
~StdScalarCdf()
Destructor. 
 
const std::vector< double > m_cdfValues
 
void print(std::ostream &os) const 
Prints the CDF (values of the grid points and of the CDF at such grid points). 
 
StdScalarCdf(const BaseEnvironment &env, const char *prefix, const std::vector< T > &cdfGrid, const std::vector< double > &cdfValues)
Default constructor. 
 
const std::string & prefix() const 
Access to private attribute m_prefix. 
 
void getSupport(T &minHorizontal, T &maxHorizontal) const 
Returns the support (image) of the CDF between two horizontal values (domain). 
 
std::ofstream * subDisplayFile() const 
Access function for m_subDisplayFile (displays file on stream). 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
T inverse(double cdfValue) const 
Returns the position of a given value of CDF. 
 
SampledScalarCdf< T > * m_sampledCdfGrid
 
double value(T paramValue) const 
Returns the value of the CDF at paramValue. 
 
const BaseEnvironment & env() const 
Environment. Access to private attribute m_env.