1 #ifndef SM_PackedBlockSymmetricMatrix_HPP
2 #define SM_PackedBlockSymmetricMatrix_HPP
4 template<
typename T,tUCInt P>
7 const tIndex &N=this->getRowBlocksNumber();
10 memset(vY,0,
sizeof(T)*P*N);
14 const T* vD=&this->getDiagonalValues()[0];
17 const T* vB=&this->getSupBlocksValues()[0];
52 T* w1=
null,*w2=
null,*w3=
null,*w4=
null;
54 for (ib=0;ib<N;ib++) {
65 for (jb=0;jb<ib;jb++) {
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
virtual void vectorProduct(const T *vX, T *vY) const
vector product
Definition: SM_PackedBlockSymmetricMatrix.hpp:5