![]() |
NDEVR
API Documentation
|
representing the structure of a matrix in column compressed structure (only the upper triangular part of the matrix) More...
Public Member Functions | |
| void | alloc (int n_, int nz) |
| allocate space for the Matrix Structure. | |
| int | nzMax () const |
| max number of non-zeros blocks | |
Public Attributes | |
| int * | Aii |
| row indices of A, of size nz = Ap [n] | |
| int * | Ap |
| column pointers for A, of size n+1 | |
| int | m |
| A is m-by-n. m must be >= 0. | |
| int | n |
| A is m-by-n. n must be >= 0. | |
Protected Attributes | |
| int | maxN |
| size of the allocated memory | |
| int | maxNz |
| size of the allocated memory | |
representing the structure of a matrix in column compressed structure (only the upper triangular part of the matrix)
Definition at line 37 of file matrix_structure.h.
| void MatrixStructure::alloc | ( | int | n_, |
| int | nz ) |
allocate space for the Matrix Structure.
You may call this on an already allocated struct, it will then reallocate the memory + additional space (g_type the required space).
Referenced by SparseBlockMatrix< MatrixType >::fillBlockStructure().