|
geomc 1.0
A c++ linear algebra template library
|
A generic matrix class which can hold references to all other matrix types. More...
#include <geomc/linalg/mtxtypes/MatrixHandle.h>
Public Types | |
| typedef MtxColIterator< MatrixHandle< T >, derived_reference > | col_iterator |
| Writeable iterator over column elements. | |
| typedef MtxColIterator< const MatrixHandle< T >, const elem_t > | const_col_iterator |
| Read-only iterator over the elements of a column. | |
| typedef MtxSubsetIterator< const MatrixHandle< T >, 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 MatrixHandle< T >, const elem_t > | const_row_iterator |
| Read-only iterator over the elments of a row. | |
| typedef T | elem_t |
| Element type. | |
| typedef MtxSubsetIterator< MatrixHandle< T >, derived_reference > | iterator |
| Writeable row-major iterator. | |
| typedef MatrixHandle< T > | recurring_t |
| typedef detail::_ImplMtxReftype< MatrixHandle< T >, T >::reference | reference |
| typedef iterator | region_iterator |
| Writeable row-major region iterator. | |
| typedef MtxRowIterator< MatrixHandle< T >, derived_reference > | row_iterator |
| Writeable iterator over row elements. | |
| typedef Storage< storage_token_t, _ImplStorageObjCount< MatrixHandle< T > >::count > | storagebuffer_t |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | begin () const |
| col_iterator | col (index_t i) |
| const_col_iterator | col (index_t i) const |
| const_col_iterator | col (index_t i) const |
| virtual index_t | cols () const =0 |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | end () const |
| storagebuffer_t | get_storage_token_buffer () const |
| virtual void | get_storage_tokens (storage_token_t *buf) const =0 |
| derived_reference | operator() (index_t row, index_t col) |
| virtual T | operator() (index_t r, index_t c) const =0 |
| derived_row_iterator | operator[] (index_t i) |
| derived_const_row_iterator | operator[] (index_t i) const |
| derived_const_row_iterator | operator[] (index_t i) const |
| region_iterator | region_begin (const MatrixRegion &r) |
| const_region_iterator | region_begin (const MatrixRegion &r) const |
| const_region_iterator | region_begin (const MatrixRegion &r) const |
| region_iterator | region_end (const MatrixRegion &r) |
| const_region_iterator | region_end (const MatrixRegion &r) const |
| const_region_iterator | region_end (const MatrixRegion &r) const |
| row_iterator | row (index_t i) |
| const_row_iterator | row (index_t i) const |
| const_row_iterator | row (index_t i) const |
| virtual index_t | rows () const =0 |
| virtual reference | set (index_t r, index_t c, T val)=0 |
| virtual void | set_identity ()=0 |
| virtual void | set_zero ()=0 |
| virtual index_t | storage_token_count () const =0 |
Static Public Attributes | |
| static constexpr index_t | COLDIM |
| Column dimension template parameter. | |
| static constexpr index_t | ROWDIM |
| Row dimension template parameter. | |
A generic matrix class which can hold references to all other matrix types.
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
| i | Index of column (zero-indexed) |
i.
|
inherited |
| i | Index of column (zero-indexed) |
i
|
inlineinherited |
| i | Index of column (zero-indexed) |
i
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Get the element at (row, col).
| row | Zero-indexed row coordinate |
| col | Zero-indexed column coordinate |
(row, col)
|
inlineinherited |
| i | Index of row (zero-indexed) |
i.
|
inherited |
| i | Index of row (zero-indexed) |
i
|
inlineinherited |
| i | Index of row (zero-indexed) |
i
|
inlineinherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the first element in the region (upper left corner).
|
inherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the first element in the region (upper left corner).
|
inlineinherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the first element in the region (upper left corner).
|
inlineinherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the element just beyond the last element in the region.
|
inherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the element just beyond the last element in the region.
|
inlineinherited |
| r | The zero-indexed region to iterate over. The upper extreme coordinates represent the index just beyond the last element to be iterated over. |
r, pointing at the element just beyond the last element in the region.
|
inlineinherited |
| i | Index of row (zero-indexed) |
i.
|
inherited |
| i | Index of row (zero-indexed) |
i
|
inlineinherited |
| i | Index of row (zero-indexed) |
i