template <class T> class EinTensor

EinTensor is a tensor, parametrized over the type T

Public Methods

EinTensor(const EinMultiIndex &up, const EinMultiIndex &lo)
Constructs a tensor with an index space according to up and lo.
EinTensor(const EinTensor<T>&)
Copy constructor
void operator=(const EinTensor<T>&)
Assignment
~EinTensor()
Destructor
EinTensorExpressionAtom <T> operator)(const EinMultiIndex &up, const EinMultiIndex &lo)
Creates non const atom
const EinTensorExpressionAtom <T> operator)(const EinMultiIndex &up, const EinMultiIndex &lo) const
Creates const atom
EinTensorExpressionAtom <T> operator)(const EinMultiIndex &uplo)
If indices only up or only low, this interface provided
const EinTensorExpressionAtom <T> operator)(const EinMultiIndex &uplo) const
A const version
PlusMinus <T> operator[](const EinMultiInt &m)
Returns a plus-minus-reference to a specific component
const PlusMinus <T> operator[](const EinMultiInt &m) const
A const version
void setMultiIndices(const EinMultiIndex &up, const EinMultiIndex &lo) const
Sets current associations
EinIndexSpace getIndexSpace() const
Returns the index space
EinIndexSpace getUnrestrictedIndexSpace() const
Returns the index space without symmetries
void getMultiIndices(EinMultiIndex &up, EinMultiIndex &lo) const
Returns current associations

Documentation

EinTensor is a tensor, parametrized over the type T
EinTensor(const EinMultiIndex &up, const EinMultiIndex &lo)
Constructs a tensor with an index space according to up and lo.

EinTensor(const EinTensor<T>&)
Copy constructor

void operator=(const EinTensor<T>&)
Assignment

~EinTensor()
Destructor

EinTensorExpressionAtom <T> operator)(const EinMultiIndex &up, const EinMultiIndex &lo)
Creates non const atom

const EinTensorExpressionAtom <T> operator)(const EinMultiIndex &up, const EinMultiIndex &lo) const
Creates const atom

EinTensorExpressionAtom <T> operator)(const EinMultiIndex &uplo)
If indices only up or only low, this interface provided

const EinTensorExpressionAtom <T> operator)(const EinMultiIndex &uplo) const
A const version

PlusMinus <T> operator[](const EinMultiInt &m)
Returns a plus-minus-reference to a specific component

const PlusMinus <T> operator[](const EinMultiInt &m) const
A const version

void setMultiIndices(const EinMultiIndex &up, const EinMultiIndex &lo) const
Sets current associations

EinIndexSpace getIndexSpace() const
Returns the index space

EinIndexSpace getUnrestrictedIndexSpace() const
Returns the index space without symmetries

void getMultiIndices(EinMultiIndex &up, EinMultiIndex &lo) const
Returns current associations

int refCnt

int size

T* components

EinTensorData(int sz)

~EinTensorData()


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