TBCI Numerical high perf. C++ Library 2.8.0
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

◆ idx_fill_in1()

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

Definition at line 146 of file index.h.

References idx_fill_in1(), and Index::idx_fill_in1().

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

◆ idx_fill_in2()

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 idx_fill_in2(), and Index::idx_fill_in2().

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

◆ idx_remove1()

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

Definition at line 186 of file index.h.

References idx_remove1(), and Index::idx_remove1().

Referenced by idx_remove1().

◆ idx_remove2()

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

Definition at line 205 of file index.h.

References idx_remove2(), and Index::idx_remove2().

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

◆ idx_set1()

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

Definition at line 219 of file index.h.

References idx_set1(), and Index::idx_set1().

Referenced by idx_set1(), and metrmul().