|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Non-owning transposed view: swaps row/col access. More...
#include <transposed_view.hpp>
Public Types | |
| using | value_type = typename Matrix::value_type |
| using | size_type = typename Matrix::size_type |
| using | const_reference = typename Matrix::const_reference |
| using | reference = const_reference |
Public Member Functions | |
| transposed_view (const Matrix &m) | |
| value_type | operator() (size_type r, size_type c) const |
| size_type | num_rows () const |
| size_type | num_cols () const |
| size_type | size () const |
| const Matrix & | base () const |
| Access underlying matrix (needed for O(nnz) transposed sparse matvec). | |
Non-owning transposed view: swaps row/col access.
| using mtl::mat::view::transposed_view< Matrix >::const_reference = typename Matrix::const_reference |
| using mtl::mat::view::transposed_view< Matrix >::reference = const_reference |
| using mtl::mat::view::transposed_view< Matrix >::size_type = typename Matrix::size_type |
| using mtl::mat::view::transposed_view< Matrix >::value_type = typename Matrix::value_type |
|
inlineexplicit |
|
inline |
Access underlying matrix (needed for O(nnz) transposed sparse matvec).
|
inline |
|
inline |
|
inline |
|
inline |