TBCI Numerical high perf. C++ Library  2.8.0
Classes | Functions
index.h File Reference

Implementation of class TBCI::Index. More...

#include "tbci/vector.h"
Include dependency graph for index.h:

Go to the source code of this file.

Classes

class  IdxErr
 
class  Index
 Note that this #pragma interface might create problems as the class index is not templated! More...
 

Functions

TVector< unsigned > idx_fill_in1 (const Index &idx, const unsigned where, const unsigned what)
 
TVector< unsigned > idx_fill_in2 (const Index &idx, const unsigned where1, const unsigned what1, const unsigned where2, const unsigned what2)
 
TVector< unsigned > idx_remove1 (const Index &idx, const unsigned which)
 
TVector< unsigned > idx_remove2 (const Index &idx, const unsigned which1, const unsigned which2)
 
TVector< unsigned > idx_set1 (const Index &idx, const unsigned which, const unsigned what)
 

Detailed Description

Implementation of class TBCI::Index.

Definition in file index.h.

Function Documentation

TVector<unsigned> idx_fill_in1 ( const Index idx,
const unsigned  where,
const unsigned  what 
)
inline

Definition at line 146 of file index.h.

References Index::idx_fill_in1().

Referenced by Tensor< T >::cntrmul(), and ctrmul().

TVector<unsigned> idx_fill_in2 ( const Index idx,
const unsigned  where1,
const unsigned  what1,
const unsigned  where2,
const unsigned  what2 
)
inline

Definition at line 168 of file index.h.

References Index::idx_fill_in2().

Referenced by Tensor< T >::contract().

TVector<unsigned> idx_remove1 ( const Index idx,
const unsigned  which 
)
inline

Definition at line 186 of file index.h.

References Index::idx_remove1().

TVector<unsigned> idx_remove2 ( const Index idx,
const unsigned  which1,
const unsigned  which2 
)
inline

Definition at line 205 of file index.h.

References Index::idx_remove2().

Referenced by Tensor< T >::cntrmul(), Tensor< T >::contract(), and ctrmul().

TVector<unsigned> idx_set1 ( const Index idx,
const unsigned  which,
const unsigned  what 
)
inline

Definition at line 219 of file index.h.

References Index::idx_set1().

Referenced by metrmul().