25 #ifndef UQ_CONSTANT_VECTOR_FUNCTION_H 
   26 #define UQ_CONSTANT_VECTOR_FUNCTION_H 
   28 #include <queso/Environment.h> 
   29 #include <queso/DistArray.h> 
   30 #include <queso/VectorSet.h> 
   31 #include <queso/VectorFunction.h> 
   48 template <
class P_V = GslVector, 
class P_M = GslMatrix, 
class Q_V = GslVector ,
class Q_M = GslMatrix>
 
   58                                 const Q_V&                       constantImageVector);
 
   65   void compute  (
const P_V&                    domainVector,
 
   67                  const P_V*                    domainDirection,
 
   84 #endif // UQ_CONSTANT_VECTOR_FUNCTION_H 
A class for partitioning vectors and matrices. 
 
A templated (base) class for handling vector functions. 
 
A class for handling vector functions which image is constant. 
 
ConstantVectorFunction(const char *prefix, const VectorSet< P_V, P_M > &domainSet, const VectorSet< Q_V, Q_M > &imageSet, const Q_V &constantImageVector)
Default Constructor. 
 
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 ...
 
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 
Calculates the image vector: assigns to the protected attribute m_constantImageVector the value of th...
 
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...
 
virtual ~ConstantVectorFunction()
Destructor. 
 
const Q_V * m_constantImageVector