xerus
a general purpose tensor library
index.cpp File Reference

Implementation of the Index class. More...

Go to the source code of this file.

Namespaces

 xerus
 The main namespace of xerus.
 

Functions

bool xerus::operator!= (const Index &_a, const Index &_b)
 Two Indices are equal if their valueId coincides. Fixed indices are never equal. More...
 
bool xerus::operator< (const Index &_a, const Index &_b)
 The Comparision operator is needed for indices to be orderable in std::set, the valueId is used. More...
 
std::ostream & xerus::operator<< (std::ostream &_out, const xerus::Index &_idx)
 Allows to pretty print indices, giving the valueId and span. More...
 
bool xerus::operator== (const Index &_a, const Index &_b)
 Two Indices are equal if their valueId coincides. Fixed indices are never equal. More...
 

Detailed Description

Implementation of the Index class.

Definition in file index.cpp.