25 #include <queso/GenericVectorMdf.h>
30 template<
class V,
class M>
34 double (*routinePtr)(
const V& paramValues,
const void* routineDataPtr, V& mdfVec),
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, mdfVec);
58 template <
class V,
class M>
~GenericVectorMdf()
Destructor.
A templated class for handling sets.
GenericVectorMdf(const char *prefix, const VectorSet< V, M > &domainSet, double(*routinePtr)(const V ¶mValues, const void *routineDataPtr, V &mdfVec), const void *routineDataPtr)
Constructor.
A templated (base) class for handling MDFs of vector functions.
void print(std::ostream &os) const
TODO: Prints the vector MDF.
void values(const V ¶mValues, V &mdfVec) const
Finds the values of the vector MDF at each element of paramValues, by calling m_routinePtr, and saves it at mdfValues.