Public Member Functions | |
Line () | |
void | add (const unsigned int col_num) |
template<typename ForwardIterator > | |
void | add_entries (ForwardIterator begin, ForwardIterator end, const bool indices_are_sorted) |
Public Attributes | |
std::vector< unsigned int > | entries |
entries
std::vector. The vector per row is dynamically growing upon insertion doubling its memory each time. CompressedSimpleSparsityPattern::Line::Line | ( | ) | [inline] |
Constructor.
Add the given column number to this line.
References entries.
void CompressedSimpleSparsityPattern::Line::add_entries | ( | ForwardIterator | begin, | |
ForwardIterator | end, | |||
const bool | indices_are_sorted | |||
) | [inline] |
Add the columns specified by the iterator range to this line.
std::vector<unsigned int> CompressedSimpleSparsityPattern::Line::entries |
Storage for the column indices of this row. This array is always kept sorted.
Referenced by add().