1 #ifndef SMOMPI_PackedBlockSymmetricMatrix_H
2 #define SMOMPI_PackedBlockSymmetricMatrix_H
5 #include "SM_PackedBlockSymmetricMatrix.h"
7 #include "functions_type.h"
18 template<
typename T,tUCInt P>
54 inline static CORE_UniquePointer<SelfClass>
New() {
55 return CORE_UniquePointer<SelfClass>(
new SelfClass(),
71 (P==3)?vectorProduct3D(vX,vY):vectorProductBbB(vX,vY);
82 void vectorProductBbB(
const T* vX,T* vY)
const;
88 void vectorProduct3D(
const T* vX,T* vY)
const;
97 #include "SMOMPI_PackedBlockSymmetricMatrix.hpp"
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class describes an OpenMP/MPI implemntation of symmetric matrix by block of size in a packed st...
Definition: SMOMPI_PackedBlockSymmetricMatrix.h:19
virtual void vectorProduct(const T *vX, T *vY) const override
vector product
Definition: SMOMPI_PackedBlockSymmetricMatrix.h:70
static CORE_UniquePointer< SelfClass > New()
build a new instance of the operator
Definition: SMOMPI_PackedBlockSymmetricMatrix.h:54
SMOMPI_PackedBlockSymmetricMatrix(void)
create a matrix of size 0
Definition: SMOMPI_PackedBlockSymmetricMatrix.h:34
virtual ~SMOMPI_PackedBlockSymmetricMatrix(void)
destroy
Definition: SMOMPI_PackedBlockSymmetricMatrix.h:40
This class described a symmetric matrix by block of size PxP in a packed storage.
Definition: SM_PackedBlockSymmetricMatrix.h:18