25 #ifndef UQ_GENERIC_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
26 #define UQ_GENERIC_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>
49 template <
class V = GslVector,
class M = GslMatrix>
59 double (*routinePtr)(
const V& paramValues,
const void* routineDataPtr, V& cdfVec),
60 const void* routineDataPtr);
67 void values(
const V& paramValues, V& cdfVec)
const;
75 void print (std::ostream& os)
const;
79 double (*
m_routinePtr)(
const V& paramValues,
const void* routineDataPtr, V& cdfVec);
89 #endif // UQ_GENERIC_VECTOR_CUMULATIVE_DISTRIBUTION_FUNCTION_H
const VectorSet< V, M > & pdfSupport() const
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport.
A templated class for handling sets.
const void * m_routineDataPtr
A templated (base) class for handling CDFs of vector functions.
void print(std::ostream &os) const
TODO: Prints the vector CDF.
double(* m_routinePtr)(const V ¶mValues, const void *routineDataPtr, V &cdfVec)
void values(const V ¶mValues, V &cdfVec) const
TODO: Returns the values of the vector CDF at each element of paramValues, by calling m_routinePtr...
~GenericVectorCdf()
Destructor.
A class for handling generic vector CDFs.
GenericVectorCdf(const char *prefix, const VectorSet< V, M > &pdfSupport, double(*routinePtr)(const V ¶mValues, const void *routineDataPtr, V &cdfVec), const void *routineDataPtr)
Constructor.