Documentation of CSL
Data Structures | Namespaces | Functions | Variables
space.h File Reference
#include "literal.h"
#include "numerical.h"
#include "indicial.h"
#include "vector.h"
Include dependency graph for space.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  csl::Space
 Vector space that has a name, a dimension, a delta tensor and possibly a non-trivial metric. If a metric is given, the indices in this space are signed, i.e. their up- or down- position matter in expressions. More...
 

Namespaces

 csl
 Namespace for csl library.
 

Functions

template<typename T , typename G >
std::vector< std::pair< T, G > >::iterator csl::findFirstInPair (std::vector< std::pair< T, G >> &v, const T &element)
 
template<typename T , typename G >
std::vector< std::pair< T, G > >::iterator csl::findSecondInPair (std::vector< std::pair< T, G >> &v, const G &element)
 
const Space & csl::buildMinkowski ()
 
void csl::fillEpsilonTensor (Expr &tensor, int dim)
 
const Space csl::Euclid_R2 ("R2", 2)
 Space $ R^2 $.
 
const Space csl::Euclid_R3 ("R3", 3)
 Space $ R^3 $.
 
const Space csl::Euclid_R4 ("R4", 4)
 Space $ R^4 $.
 

Variables

Expr csl::DMinko = csl::constant_s("D", csl::int_s(4))
 
const Space & csl::Minkowski = buildMinkowski()
 Space $ R^{1,3} $ with a metric g = diag(-1,1,1,1).
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3