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,
67 imageVector = *m_constantImageVector;
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.
#define queso_require_msg(asserted, msg)
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...
A class for partitioning vectors and matrices.
virtual ~ConstantVectorFunction()
Destructor.
const Q_V * m_constantImageVector