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) |
| unsigned int | memory_consumption () const |
Public Attributes | |
| std::vector< unsigned int > | entries |
Store some data for each row describing which entries of this row are nonzero. Data is stored sorted in the entries std::vector. The vector per row is dynamically growing upon insertion doubling its memory each time.
| CompressedSimpleSparsityPattern::Line::Line | ( | ) | [inline] |
Constructor.
| void CompressedSimpleSparsityPattern::Line::add | ( | const unsigned int | col_num | ) | [inline] |
Add the given column number to this line.
References entries.
| void CompressedSimpleSparsityPattern::Line::add_entries | ( | ForwardIterator | begin, |
| ForwardIterator | end, | ||
| const bool | indices_are_sorted | ||
| ) |
Add the columns specified by the iterator range to this line.
| unsigned int CompressedSimpleSparsityPattern::Line::memory_consumption | ( | ) | const |
estimates memory consumption.
| std::vector<unsigned int> CompressedSimpleSparsityPattern::Line::entries |
Storage for the column indices of this row. This array is always kept sorted.
Referenced by add().
documentation generated on Fri Aug 12 2011 15:01:02 by
doxygen
1.7.4