|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Wraps a matrix and provides quad-tree subdivision for block-recursive algorithms. More...
#include <matrix_recursator.hpp>
Public Types | |
| using | size_type = typename Matrix::size_type |
| using | value_type = typename Matrix::value_type |
Public Member Functions | |
| recursator (Matrix &m) | |
| Wrap the entire matrix. | |
| recursator (std::remove_const_t< Matrix > &&)=delete | |
| A recursator holds a pointer: recursator<const M> bound a temporary through Matrix& = const M&, and dangled at the end of the statement (issue 877). | |
| recursator | north_west () const |
| North-west quadrant (top-left). | |
| recursator | north_east () const |
| North-east quadrant (top-right). | |
| recursator | south_west () const |
| South-west quadrant (bottom-left). | |
| recursator | south_east () const |
| South-east quadrant (bottom-right). | |
| decltype(auto) | operator() (size_type r, size_type c) const |
| Access element (r, c) relative to this sub-region. | |
| decltype(auto) | operator() (size_type r, size_type c) |
| Matrix & | get_matrix () |
| Get the underlying matrix reference. | |
| const Matrix & | get_matrix () const |
| size_type | num_rows () const |
| size_type | num_cols () const |
| size_type | size () const |
| bool | is_empty () const |
| size_type | row_offset () const |
| size_type | col_offset () const |
Wraps a matrix and provides quad-tree subdivision for block-recursive algorithms.
Lightweight value type – copy freely.
| using mtl::recursion::recursator< Matrix >::size_type = typename Matrix::size_type |
| using mtl::recursion::recursator< Matrix >::value_type = typename Matrix::value_type |
|
inlineexplicit |
Wrap the entire matrix.
|
explicitdelete |
A recursator holds a pointer: recursator<const M> bound a temporary through Matrix& = const M&, and dangled at the end of the statement (issue 877).
|
inline |
|
inline |
Get the underlying matrix reference.
|
inline |
|
inline |
|
inline |
North-east quadrant (top-right).
|
inline |
North-west quadrant (top-left).
|
inline |
|
inline |
|
inline |
|
inline |
Access element (r, c) relative to this sub-region.
|
inline |
|
inline |
|
inline |
South-east quadrant (bottom-right).
|
inline |
South-west quadrant (bottom-left).