This class describes an OpenMP/MPI implemntation of symmetric matrix by block of size \( P \times P \) in a packed storage.
More...
|
|
| SMOMPI_PackedBlockSymmetricMatrix (void) |
| | create a matrix of size 0
|
| |
|
virtual | ~SMOMPI_PackedBlockSymmetricMatrix (void) |
| | destroy
|
| |
| virtual void | vectorProduct (const T *vX, T *vY) const override |
| | vector product More...
|
| |
| virtual tMemSize | getMemorySize () const |
| | return the memory size of the class and the memory size of all its attributes/associations More...
|
| |
| virtual tMemSize | getContentsMemorySize () const |
| | return the memory size of the included associations More...
|
| |
|
virtual void | reset () final |
| | reset the values
|
| |
| void | setSize (const tIndex &nRowBlocks) |
| | set the number or rows & columns of the blocks matrix More...
|
| |
| virtual void | setSize (const tIndex &nRowBlocks, const tIndex &nColBlocks) final |
| | set the number or rows & columns of the blocks matrix More...
|
| |
| virtual void | setValue (const tIndex &i, const tIndex &j, const T &v) final |
| | set values at row i and column j More...
|
| |
| virtual const T & | getValue (const tIndex &i, const tIndex &j) const final |
| | get values at row i and column j for reading More...
|
| |
| virtual T & | getValue (const tIndex &i, const tIndex &j) final |
| | get values at row i and column j for writing More...
|
| |
|
std::valarray< T > & | getSupBlocksValues () |
| | get the values of superior blocks of the matrix
|
| |
|
std::valarray< T > & | getDiagonalValues () |
| | get the diagonal values : Diagonal[i].I_P
|
| |
|
const std::valarray< T > & | getSupBlocksValues () const |
| | get the values of superior blocks of the matrix
|
| |
|
const std::valarray< T > & | getDiagonalValues () const |
| | get the diagonal values : Diagonal[i].I_P
|
| |
| const T & | operator() (tIndex i, tIndex j) const |
| | get values at row i and column j for reading More...
|
| |
| T & | operator() (tIndex i, tIndex j) |
| | get values at row i and column j for writing More...
|
| |
|
virtual tString | toString () const override |
| | return string representaton of the operator
|
| |
| virtual void | setSize (const tInteger &nRowBlocks, const tInteger &nColBlocks) |
| | set the number or rows & columns of the blocks matrix More...
|
| |
|
const tInteger & | getRowBlocksNumber () const |
| | get the number of row blowks
|
| |
|
const tInteger & | getColumnBlocksNumber () const |
| | get the number of column blocks
|
| |
| template<class T > |
| std::shared_ptr< T > | getSharedPointer () |
| | return the shared pointer for this More...
|
| |
| template<class T > |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| | return a const shared pointer for this More...
|
| |
| template<class T > |
| tBoolean | isInstanceOf () const |
| | test if the clas T is an instance of this class More...
|
| |
| tString | getClassName () const |
| | return the name of the class More...
|
| |
| tString | getPointerString () const |
| | retrun the pointer of the class as a string More...
|
| |
| tString | getIdentityString () const |
| | retrun the string identification of the class More...
|
| |
template<typename T, tUCInt P>
class SMOMPI_PackedBlockSymmetricMatrix< T, P >
This class describes an OpenMP/MPI implemntation of symmetric matrix by block of size \( P \times P \) in a packed storage.
- Template Parameters
-
| T | : type of the element of the block of the matrix |
| P | : size of the block \( P \times P \) |
- Author
- Stephane Despreaux
- Version
- 2.0