Public Member Functions | |
RowInfo (unsigned int start=Entry::invalid) | |
Public Attributes | |
unsigned int | start |
unsigned short | length |
unsigned short | diagonal |
Static Public Attributes | |
static const unsigned short | invalid_diagonal = static_cast<unsigned short>(-1) |
Structure for storing information on a matrix row. One object for each row will be stored in the matrix.
SparseMatrixEZ< number >::RowInfo::RowInfo | ( | unsigned int | start = Entry::invalid |
) | [inline] |
Constructor.
unsigned int SparseMatrixEZ< number >::RowInfo::start |
Index of first entry of the row in the data field.
Referenced by SparseMatrixEZ< number >::allocate(), and SparseMatrixEZ< number >::locate().
unsigned short SparseMatrixEZ< number >::RowInfo::length |
Number of entries in this row.
Referenced by SparseMatrixEZ< number >::allocate(), and SparseMatrixEZ< number >::locate().
unsigned short SparseMatrixEZ< number >::RowInfo::diagonal |
Position of the diagonal element relative tor the start index.
Referenced by SparseMatrixEZ< number >::allocate().
const unsigned short SparseMatrixEZ< number >::RowInfo::invalid_diagonal = static_cast<unsigned short>(-1) [static] |
Value for non-existing diagonal.
Referenced by SparseMatrixEZ< number >::allocate().