KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
PROJECT_NS::EinsumIdx Struct Reference

EinsumIdx is a struct store information of index used in einsum operation. More...

#include <Einsum.h>

Collaboration diagram for PROJECT_NS::EinsumIdx:
Collaboration graph

Public Member Functions

 EinsumIdx (char _label, std::size_t _cnt, std::size_t _dim, std::size_t _val)
 

Public Attributes

char label
 unique identifer for EinsumIdx
 
std::size_t cnt = 0
 indicate the type (0: fixed; 1: outer; >1: inner)
 
std::size_t dim = 0
 bound of the value of index
 
std::size_t val = 0
 the value of the index
 

Detailed Description

EinsumIdx is a struct store information of index used in einsum operation.

Definition at line 142 of file Einsum.h.

Constructor & Destructor Documentation

◆ EinsumIdx()

PROJECT_NS::EinsumIdx::EinsumIdx ( char _label,
std::size_t _cnt,
std::size_t _dim,
std::size_t _val )
inline

Definition at line 143 of file Einsum.h.

Member Data Documentation

◆ cnt

std::size_t PROJECT_NS::EinsumIdx::cnt = 0

indicate the type (0: fixed; 1: outer; >1: inner)

Definition at line 147 of file Einsum.h.

◆ dim

std::size_t PROJECT_NS::EinsumIdx::dim = 0

bound of the value of index

Definition at line 148 of file Einsum.h.

◆ label

char PROJECT_NS::EinsumIdx::label

unique identifer for EinsumIdx

Definition at line 146 of file Einsum.h.

◆ val

std::size_t PROJECT_NS::EinsumIdx::val = 0

the value of the index

Definition at line 149 of file Einsum.h.


The documentation for this struct was generated from the following file: