MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::tensor::Index< Name > Struct Template Reference

Compile-time named index for Einstein notation. More...

#include <index.hpp>

Static Public Attributes

static constexpr char name = Name

Detailed Description

template<char Name>
struct mtl::tensor::Index< Name >

Compile-time named index for Einstein notation.

Usage: Index<'i'> i; Index<'j'> j;

Member Data Documentation

◆ name

template<char Name>
char mtl::tensor::Index< Name >::name = Name
staticconstexpr

The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/tensor/index.hpp