25 #ifndef UQ_GENERIC_MATRIX_COVARIANCE_FUNCTION_H
26 #define UQ_GENERIC_MATRIX_COVARIANCE_FUNCTION_H
28 #include <queso/MatrixCovarianceFunction.h>
29 #include <queso/VectorSet.h>
30 #include <queso/Environment.h>
47 template <
class P_V = GslVector,
class P_M = GslMatrix,
class Q_V = GslVector,
class Q_M = GslMatrix>
57 void (*covRoutinePtr)(
const P_V& positionVector1,
const P_V& positionVector2,
const void* routineDataPtr, Q_M& imageMatrix),
58 const void* routinesDataPtr);
67 void covMatrix(
const P_V& positionVector1,
const P_V& positionVector2, Q_M& imageMatrix)
const;
75 void (*
m_covRoutinePtr)(
const P_V& positionVector1,
const P_V& positionVector2,
const void* routineDataPtr, Q_M& imageMatrix);
81 #endif // UQ_GENERIC_MATRIX_COVARIANCE_FUNCTION_H
const void * m_routineDataPtr
void(* m_covRoutinePtr)(const P_V &positionVector1, const P_V &positionVector2, const void *routineDataPtr, Q_M &imageMatrix)
GenericMatrixCovarianceFunction(const char *prefix, const VectorSet< P_V, P_M > &basicDomainSet, const VectorSet< Q_V, Q_M > &imageSet, void(*covRoutinePtr)(const P_V &positionVector1, const P_V &positionVector2, const void *routineDataPtr, Q_M &imageMatrix), const void *routinesDataPtr)
Default constructor.
void covMatrix(const P_V &positionVector1, const P_V &positionVector2, Q_M &imageMatrix) const
Calculates the value of the generic covariance matrix.
A class for generic covariance matrices.
const VectorSet< P_V, P_M > & basicDomainSet() const
Domain set; access to private attribute m_basicDomainSet.
virtual ~GenericMatrixCovarianceFunction()
Virtual destructor.
A templated (base) class to accommodate covariance matrix of (random) vector functions.