class EinIndex : public EinAbstractIndex

EinIndex is a one dimensional index and provides the normal way to interact with tensors

Inheritance:


Public Methods

EinIndex(int dim = 3)
Default yields a [0,2] index.
EinIndex(int start, int stop)
EinIndex(const EinIndex&)
~EinIndex()
EinAbstractIndex* virtualCopy() const
void operator=(const EinIndex&)
int fixed() const
void begin()
int end() const
void next()
int current() const
Returns "current" (storage) value
int currentValue() const
Returns "current" value

Inherited from EinAbstractIndex:

Public Methods

operator EinMultiInt() const
virtual int containsCount(const EinIndex&) const
virtual EinIndex getIndex(int slot) const
virtual void setIndex(int slot, const EinIndex&)
void setIndices(const EinAbstractIndex &M)
EinMultiIndex unrestricted() const
virtual void operator++()
virtual void operator++(int)
virtual int dim() const
virtual int size() const
virtual int rank() const
virtual ostream& display(ostream&) const
virtual int currentSign() const
void newID()
virtual int currentOrbitSize() const
virtual int isNonSymmetric() const
virtual int isSymmetric() const
virtual int isAntiSymmetric() const
virtual int orbit(const EinMultiInt &m) const
virtual int sign(const EinMultiInt &m) const
virtual int orbitSize(const EinMultiInt &m) const

Documentation

EinIndex is a one dimensional index and provides the normal way to interact with tensors. The identity of each object is used for deciding free indices and the summation indices. Note that a loop over an index which already is involved in a loop will be ignored. That is, current will not be affected by begin or next. To maintain correct loop status, it is important to break loops only when end is true.
EinIndex(int dim = 3)
Default yields a [0,2] index.

EinIndex(int start, int stop)

EinIndex(const EinIndex&)

~EinIndex()

EinAbstractIndex* virtualCopy() const

void operator=(const EinIndex&)

int fixed() const

void begin()

int end() const

void next()

int current() const
Returns "current" (storage) value

int currentValue() const
Returns "current" value


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de