25 #include <queso/GenericVectorCdf.h>
30 template<
class V,
class M>
34 double (*routinePtr)(
const V& paramValues,
const void* routineDataPtr, V& cdfVec),
35 const void* routineDataPtr)
38 m_routinePtr (routinePtr),
39 m_routineDataPtr(routineDataPtr)
43 template<
class V,
class M>
48 template<
class V,
class M>
54 m_routinePtr(paramValues, m_routineDataPtr, cdfVec);
58 template <
class V,
class M>
~GenericVectorCdf()
Destructor.
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...
A templated (base) class for handling CDFs of vector functions.
A templated class for handling sets.
GenericVectorCdf(const char *prefix, const VectorSet< V, M > &pdfSupport, double(*routinePtr)(const V ¶mValues, const void *routineDataPtr, V &cdfVec), const void *routineDataPtr)
Constructor.
void print(std::ostream &os) const
TODO: Prints the vector CDF.