25 #ifndef UQ_STD_CUMULATIVE_DISTRIBUTION_FUNCTION_H 
   26 #define UQ_STD_CUMULATIVE_DISTRIBUTION_FUNCTION_H 
   28 #include <queso/StdOneDGrid.h> 
   29 #include <queso/Environment.h> 
   30 #include <queso/ScalarCdf.h> 
   31 #include <queso/SampledScalarCdf.h> 
   57                       const std::vector<T>&         cdfGrid,
 
   58                       const std::vector<double>&    cdfValues);
 
   65   double value           (T                       paramValue) 
const;
 
   69   T      
inverse         (
double                  cdfValue  ) 
const;
 
   72   void   getSupport      (T& minHorizontal, T& maxHorizontal) 
const;
 
   77   void   print           (std::ostream&           os        ) 
const;
 
   83                           const std::string&            fileName,
 
   84                           const std::string&            fileType,
 
   85                           const std::set<unsigned int>& allowedSubEnvIds) 
const;
 
  100 #endif // UQ_STD_CUMULATIVE_DISTRIBUTION_FUNCTION_H 
void print(std::ostream &os) const 
Prints the CDF (values of the grid points and of the CDF at such grid points). 
 
T inverse(double cdfValue) const 
Returns the position of a given value of CDF. 
 
StdScalarCdf(const BaseEnvironment &env, const char *prefix, const std::vector< T > &cdfGrid, const std::vector< double > &cdfValues)
Default constructor. 
 
Class for accommodating standard one-dimensional grids. 
 
const BaseEnvironment & env() const 
Environment. Access to private attribute m_env. 
 
void getSupport(T &minHorizontal, T &maxHorizontal) const 
Returns the support (image) of the CDF between two horizontal values (domain). 
 
A templated (base) class for handling CDFs. 
 
A class for handling sampled CDFs. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
A class for handling standard CDFs. 
 
double value(T paramValue) const 
Returns the value of the CDF at paramValue. 
 
SampledScalarCdf< T > * m_sampledCdfGrid
 
const std::string & prefix() const 
Access to private attribute m_prefix. 
 
const StdOneDGrid< T > m_cdfGrid
 
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. 
 
~StdScalarCdf()
Destructor. 
 
const std::vector< double > m_cdfValues