25 #ifndef UQ_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
26 #define UQ_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
28 #include <queso/ArrayOfOneDGrids.h>
29 #include <queso/ArrayOfOneDTables.h>
30 #include <queso/ScalarCdf.h>
31 #include <queso/SampledScalarCdf.h>
32 #include <queso/Environment.h>
55 template<
class V,
class M>
76 virtual void values (
const V& paramValues, V& cdfVec)
const = 0;
84 virtual void print (std::ostream& os)
const = 0;
95 const std::string& fileName,
96 const std::string& fileType,
97 const std::set<unsigned int>& allowedSubEnvIds)
const;
111 template <
class V,
class M>
120 #endif // UQ_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
const VectorSet< V, M > & m_pdfSupport
virtual 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 class for handling sets.
A templated (base) class for handling CDFs of vector functions.
const BaseEnvironment & m_env
A templated (base) class for handling CDFs.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
friend std::ostream & operator<<(std::ostream &os, const BaseVectorCdf< V, M > &obj)
virtual void print(std::ostream &os) const =0
Prints the vector CDF. See template specialization.
virtual ~BaseVectorCdf()
Virtual destructor.
virtual const BaseScalarCdf< double > & cdf(unsigned int rowId) const =0
const VectorSet< V, M > & pdfSupport() const
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport.
BaseVectorCdf(const char *prefix, const VectorSet< V, M > &pdfSupport)
Default constructor.
virtual void values(const V ¶mValues, V &cdfVec) const =0
Finds the value of the vector CDF at each element of paramValue, and saves it in cdfVec. See template specialization.
void horizontalDistances(const BaseVectorCdf< V, M > &cdf1, const BaseVectorCdf< V, M > &cdf2, const V &epsilonVec, V &distances)
It calculated the maximum horizontal distances between two vector CDFs.