1 #ifndef SM_PackedBlockGeneralMatrix_HPP
2 #define SM_PackedBlockGeneralMatrix_HPP
4 template<
typename T,tUCInt P>
9 const tInteger &N=this->getRowBlocksNumber();
12 const tInteger &M=this->getColumnBlocksNumber();
15 memset(vY,0,
sizeof(T)*N*P);
26 const T* vB=&this->getBlocksValues()[0];
36 T* w1=
null,*w2=
null,*w3=
null,*w4=
null;
38 for (ib=0;ib<N;ib++) {
41 for (jb=0;jb<M;jb++) {
virtual void vectorProduct(const T *vX, T *vY) const
vector product
Definition: SM_PackedBlockGeneralMatrix.hpp:5
static void BlockVectorProduct(const T *B, const T *X, T *Y, const T *eY, const T *Xi, const T *Xj, T *Yi, T *Yj)
compute sthe vector product of the packed symmetric block B of dimension P by X to obtain Y=B....
Definition: SM_PackedBlockMatrix.h:188
This class described a symmetric matrix by block of size PxP in a packed storage.
Definition: SM_PackedBlockSymmetricMatrix.h:18