|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Functions | |
| constexpr std::size_t | sym2_count (std::size_t D) |
| Number of independent components for a symmetric rank-2 tensor in D dimensions. | |
| constexpr std::size_t | sym2_index (std::size_t i, std::size_t j, std::size_t D) |
| Map (i, j) with i <= j to a flat index in upper-triangular storage. | |
| constexpr std::size_t | asym2_count (std::size_t D) |
| Number of independent components for an antisymmetric rank-2 tensor. | |
| constexpr std::size_t | asym2_index (std::size_t i, std::size_t j, std::size_t D) |
| Map (i, j) with i < j to a flat index. Returns D*(D-1)/2 for diagonal. | |
|
constexpr |
Number of independent components for an antisymmetric rank-2 tensor.
|
constexpr |
Map (i, j) with i < j to a flat index. Returns D*(D-1)/2 for diagonal.
|
constexpr |
Number of independent components for a symmetric rank-2 tensor in D dimensions.
|
constexpr |
Map (i, j) with i <= j to a flat index in upper-triangular storage.
Storage order: (0,0), (0,1), (0,2), ..., (1,1), (1,2), ..., (D-1,D-1)