|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
A tensor expression with named indices attached. More...
#include <index.hpp>
Public Attributes | |
| const TensorType & | ref |
Static Public Attributes | |
| static constexpr std::size_t | num_indices = sizeof...(Names) |
| static constexpr std::array< char, sizeof...(Names)> | names {Names...} |
A tensor expression with named indices attached.
Created by: bind(A, i, j) where i, j are Index objects. It holds a reference to A, so bind() of a temporary is rejected at compile time (#857: it dangled once the full-expression ended).
|
staticconstexpr |
|
staticconstexpr |
| const TensorType& mtl::tensor::indexed_tensor< TensorType, Names >::ref |