25 #ifndef UQ_BASE_VECTOR_FUNCTION_H
26 #define UQ_BASE_VECTOR_FUNCTION_H
28 #include <queso/Environment.h>
29 #include <queso/DistArray.h>
30 #include <queso/VectorSet.h>
49 template <
class P_V = GslVector,
class P_M = GslMatrix,
class Q_V = GslVector,
class Q_M = GslMatrix>
74 virtual void compute (
const P_V& domainVector,
75 const P_V* domainDirection,
94 #endif // UQ_BASE_VECTOR_FUNCTION_H
const VectorSet< Q_V, Q_M > & imageSet() const
Access to the protected attribute m_imageSet: image set of the vector function/ It is an instance of ...
A templated (base) class for handling vector functions.
const VectorSet< P_V, P_M > & m_domainSet
Domain set of the vector function.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
virtual ~BaseVectorFunction()
Destructor.
virtual void compute(const P_V &domainVector, const P_V *domainDirection, Q_V &imageVector, DistArray< P_V * > *gradVectors, DistArray< P_M * > *hessianMatrices, DistArray< P_V * > *hessianEffects) const =0
Computes the image vector. See template specialization.
const VectorSet< P_V, P_M > & domainSet() const
Access to the protected attribute m_domainSet: domain set of the vector function. It is an instance o...
A class for partitioning vectors and matrices.
const VectorSet< Q_V, Q_M > & m_imageSet
Image set of the vector function.
const BaseEnvironment & m_env
BaseVectorFunction(const char *prefix, const VectorSet< P_V, P_M > &domainSet, const VectorSet< Q_V, Q_M > &imageSet)
Default Constructor.