Documentation of CSL
Data Structures | Namespaces | Enumerations | Functions
index.h File Reference
#include <string>
#include <string_view>
#include <vector>
#include <map>
#include "std_vector_implementation.h"
Include dependency graph for index.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  csl::Index
 Index object that is used for indicial objects. More...
 
class  csl::IndexStructure
 Manages a std::vector of Index, to be used by an TensorElement. More...
 

Namespaces

 csl
 Namespace for csl library.
 
 cslIndex
 Encapsulate types of indices and tensor in a small namespace.
 

Enumerations

enum  cslIndex::Type { cslIndex::Free, cslIndex::Dummy, cslIndex::Fixed }
 
enum  cslIndex::TensorType { Generic, cslIndex::Metric, cslIndex::Delta }
 Type of TensorElement. More...
 

Functions

std::vector< Index > csl::integerToIndices (const std::vector< int > &indices)
 
Index csl::operator! (const Index &index)
 operator!, unary operator on Index that change the free property of the Index. More...
 
Index csl::operator+ (const Index &index)
 operator+, unary operator on Index that returns a similar Index with sign = 1 if the Space is signed, i.e. an Index up. More...
 
Index csl::operator- (const Index &index)
 operator-, unary operator on Index that returns a similar Index with sign = 0 if the Space is signed, i.e. an Index down. More...
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3