|
typedef M::elem_t | elem_t |
|
typedef MatrixHandle< elem_t >::reference | reference |
|
typedef MtxSubsetIterator< Derived, derived_reference > | iterator |
| Writeable row-major iterator.
|
|
typedef iterator | region_iterator |
| Writeable row-major region iterator.
|
|
typedef MtxRowIterator< Derived, derived_reference > | row_iterator |
| Writeable iterator over row elements.
|
|
typedef MtxColIterator< Derived, derived_reference > | col_iterator |
| Writeable iterator over column elements.
|
|
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() [1/2]
- Returns
- A writeable, random-access, row-major iterator over the elements of this matrix, pointing to the element at (0,0).
◆ begin() [2/2]
- Returns
- A read-only random-access row major-ordered iterator over the elements of this matrix, pointing to the element at (0,0).
◆ col() [1/2]
- Parameters
-
i | Index of column (zero-indexed) |
- Returns
- A writeable iterator over the elements of column
i
.
◆ col() [2/2]
- Parameters
-
i | Index of column (zero-indexed) |
- Returns
- A const iterator over the elements of column
i
◆ cols()
virtual index_t cols |
( |
| ) |
const |
|
inlinevirtual |
◆ end() [1/2]
- Returns
- A writeable, random-access, row-major iterator over the elements of this matrix, pointing to the element just beyond the last element in the lower right corner.
◆ end() [2/2]
- 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.
◆ get_storage_tokens()
◆ operator()() [1/2]
virtual elem_t operator() |
( |
index_t |
r, |
|
|
index_t |
c |
|
) |
| const |
|
inlinevirtual |
◆ operator()() [2/2]
Get the element at (row, col)
.
- Parameters
-
row | Zero-indexed row coordinate |
col | Zero-indexed column coordinate |
- Returns
- A reference to the element at
(row, col)
◆ operator[]() [1/2]
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A writeable iterator over the elements of row
i
.
◆ operator[]() [2/2]
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A const iterator over the elements of row
i
◆ region_begin() [1/2]
- 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 writeable, random-access, row-major iterator over the elements in region
r
, pointing at the first element in the region (upper left corner).
◆ region_begin() [2/2]
- 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() [1/2]
- 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 writeable, random-access, row-major iterator over the elements in region
r
, pointing at the element just beyond the last element in the region.
◆ region_end() [2/2]
- 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() [1/2]
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A writeable iterator over the elements of row
i
.
◆ row() [2/2]
- Parameters
-
i | Index of row (zero-indexed) |
- Returns
- A const iterator over the elements of row
i
◆ rows()
virtual index_t rows |
( |
| ) |
const |
|
inlinevirtual |
◆ set_identity()
virtual void set_identity |
( |
| ) |
|
|
inlinevirtual |
◆ set_zero()
virtual void set_zero |
( |
| ) |
|
|
inlinevirtual |
◆ storage_token_count()
virtual index_t storage_token_count |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: