| Types |
Description |
| value_type |
The type (T) of the objects stored in the matrix. |
| pointer_type |
Pointer to T. |
| reference |
Reference to T. |
| const_reference |
Const reference to T. |
| size_type |
An unsigned integral type. |
| difference_type |
A signed integral type. |
| row_type |
The type (Row) of a row. |
| iterator |
An iterator to iterate through the rows. |
| const_iterator |
Const iterator. |
| reverse_iterator |
An iterator to iterate backwards through the rows. |
| const_reverse_iterator |
Const backward iterator. |
| Methods |
|
row_type&
operator[](size_type n) |
Returns a reference to the given row. |
|
const row_type&
operator[](size_type n)
const
|
Returns a const reference to the given row. |
|
void
push_back(const row_type& row) |
Inserts a new row at the end. |
|
void
pop_back() |
Removes the last row. |
|
size_type
size()
const
|
Returns the number of rows. |
|
size_type
max_size()
const
|
Returns the maximum number of rows. |
|
bool
empty()
const
|
Returns true if the matrix contains no rows. |