25 #include <queso/ConstantVectorFunction.h>
26 #include <queso/GslVector.h>
27 #include <queso/GslMatrix.h>
32 template<
class P_V,
class P_M,
class Q_V,
class Q_M>
37 const Q_V& constantImageVector)
42 m_constantImageVector(NULL)
48 template<
class P_V,
class P_M,
class Q_V,
class Q_M>
51 delete m_constantImageVector;
55 template<
class P_V,
class P_M,
class Q_V,
class Q_M>
58 const P_V& domainVector,
59 const P_V* domainDirection,
65 queso_require_msg(m_constantImageVector,
"m_constantImageVector is NULL");
67 imageVector = *m_constantImageVector;
A templated (base) class for handling vector functions.
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...
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 Q_V * m_constantImageVector
A class for partitioning vectors and matrices.
A class for handling vector functions which image is constant.
virtual ~ConstantVectorFunction()
Destructor.