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>
52 template <
class V = GslVector,
class M = GslMatrix>
73 virtual void values (
const V& paramValues, V& cdfVec)
const = 0;
81 virtual void print (std::ostream& os)
const = 0;
92 const std::string& fileName,
93 const std::string& fileType,
94 const std::set<unsigned int>& allowedSubEnvIds)
const;
108 template <
class V,
class M>
117 #endif // UQ_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
BaseVectorCdf(const char *prefix, const VectorSet< V, M > &pdfSupport)
Default constructor.
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.
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 const BaseScalarCdf< double > & cdf(unsigned int rowId) const =0
A templated (base) class for handling CDFs of vector functions.
A templated class for handling sets.
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.
virtual ~BaseVectorCdf()
Virtual destructor.
virtual void print(std::ostream &os) const =0
Prints the vector CDF. See template specialization.
const VectorSet< V, M > & m_pdfSupport
const BaseEnvironment & m_env
const VectorSet< V, M > & pdfSupport() const
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport.
A templated (base) class for handling CDFs.
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.