25 #ifndef UQ_SAMPLED_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
26 #define UQ_SAMPLED_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
28 #include <queso/VectorCdf.h>
29 #include <queso/ArrayOfOneDGrids.h>
30 #include <queso/ArrayOfOneDTables.h>
31 #include <queso/ScalarCdf.h>
32 #include <queso/Environment.h>
50 template <
class V = GslVector,
class M = GslMatrix>
69 void values(
const V& paramValues, V& cdfVec)
const;
77 void print (std::ostream& os)
const;
82 const std::string& fileName,
83 const std::string& fileType,
84 const std::set<unsigned int>& allowedSubEnvIds)
const;
96 #endif // UQ_SAMPLED_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
Class to accommodate arrays of one-dimensional grid.
A class for handling sampled vector CDFs.
SampledVectorCdf(const char *prefix, const ArrayOfOneDGrids< V, M > &oneDGrids, const ArrayOfOneDTables< V, M > &cdfValues)
Default constructor.
Class to accommodate arrays of one-dimensional tables.
const BaseScalarCdf< double > & cdf(unsigned int rowId) const
Returns a scalar CDF stored at row rowId of the vector CDF.
DistArray< SampledScalarCdf< double > * > m_cdfs
A templated (base) class for handling CDFs of vector functions.
void print(std::ostream &os) const
Prints the vector CDF (values of the grid points and of the CDF at such grid points).
A templated (base) class for handling CDFs.
void values(const V ¶mValues, V &cdfVec) const
TODO: Returns the values of the vector CDF at each element of paramValues.
A class for partitioning vectors and matrices.
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.
~SampledVectorCdf()
Destructor.