|
typedef T | elem_t |
| Element type.
|
|
typedef MtxSubsetIterator< const Derived, const elem_t > | const_iterator |
| Read-only row-major iterator over matrix elements.
|
|
typedef const_iterator | const_region_iterator |
| Read-only row-major iterator over the matrix elements in a rectangular region.
|
|
typedef MtxRowIterator< const Derived, const elem_t > | const_row_iterator |
| Read-only iterator over the elments of a row.
|
|
typedef MtxColIterator< const Derived, const elem_t > | const_col_iterator |
| Read-only iterator over the elements of a column.
|
|
typedef Storage< storage_token_t, _ImplStorageObjCount< Derived >::count > | storagebuffer_t |
|
typedef Derived | recurring_t |
|
|
static constexpr index_t | ROWDIM = M |
| Row dimension template parameter.
|
|
static constexpr index_t | COLDIM = N |
| Column dimension template parameter.
|
|
◆ begin()
- Returns
- A read-only random-access row major-ordered iterator over the elements of this matrix, pointing to the element at (0,0).
◆ col()
- Parameters
-
i | Index of column (zero-indexed) |
- Returns
- A const iterator over the elements of column
i
◆ cols()
- Returns
- Number of columns in the matrix.
◆ end()
- Returns
- A read-only random-access row major-ordered iterator over the elements of this matrix, pointing to the element just beyond the last element in the lower right corner.
◆ operator()()
elem_t operator() |
( |
index_t |
row, |
|
|
index_t |
col |
|
) |
| const |
|
inline |
Get the element at (row, col)
.
- Parameters
-
row | Zero-indexed row coordinate |
col | Zero-indexed column coordinate |
- Returns
- The element at
(row, col)
◆ operator[]()
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A const iterator over the elements of row
i
◆ region_begin()
- Parameters
-
r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
- Returns
- A read-only, random-access, row-major iterator over the elements in region
r
, pointing at the first element in the region (upper left corner).
◆ region_end()
- Parameters
-
r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
- Returns
- A read-only, random-access, row-major iterator over the elements in region
r
, pointing at the element just beyond the last element in the region.
◆ row()
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A const iterator over the elements of row
i
◆ rows()
- Returns
- Number of rows in the matrix.
The documentation for this class was generated from the following files: