|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Implicit identity matrix: no storage, O(1) element access. More...
#include <identity2D.hpp>
Public Types | |
| using | value_type = Value |
| using | size_type = std::size_t |
| using | const_reference = Value |
| using | reference = Value |
Public Member Functions | |
| identity2D (size_type n) | |
| value_type | operator() (size_type r, size_type c) const |
| size_type | num_rows () const |
| size_type | num_cols () const |
| size_type | size () const |
Implicit identity matrix: no storage, O(1) element access.
| using mtl::mat::identity2D< Value >::const_reference = Value |
| using mtl::mat::identity2D< Value >::reference = Value |
| using mtl::mat::identity2D< Value >::size_type = std::size_t |
| using mtl::mat::identity2D< Value >::value_type = Value |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |