TBCI::Index Class Reference

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

#include <index.h>

Inheritance diagram for TBCI::Index:

Inheritance graph
[legend]
Collaboration diagram for TBCI::Index:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Index ()
 Index (const unsigned dim)
 Index (const unsigned value, const unsigned dim)
 Index (const Index &idx)
 Index (const Vector< unsigned > &vec)
 Index (const TVector< unsigned > &tv)
 Index (vararg va,...)
void lin_read (vararg va,...)
Index next_idx (const Index &max)
Index prev_idx (const Index &max)
TVector< unsigned > idx_fill_in1 (const unsigned, const unsigned) const
TVector< unsigned > idx_fill_in2 (const unsigned, const unsigned, const unsigned, const unsigned) const
TVector< unsigned > idx_remove1 (const unsigned) const
TVector< unsigned > idx_remove2 (const unsigned, const unsigned) const
TVector< unsigned > idx_set1 (const unsigned, const unsigned) const


Detailed Description

Note that this pragma interface might create problems as the class index is not templated!

Class to address TBCI::Tensor elements. Derived from TBCI::Vector <unsigned>

Definition at line 48 of file index.h.


Constructor & Destructor Documentation

TBCI::Index::Index (  )  [inline]

Definition at line 54 of file index.h.

TBCI::Index::Index ( const unsigned  dim  )  [inline]

Definition at line 55 of file index.h.

TBCI::Index::Index ( const unsigned  value,
const unsigned  dim 
) [inline]

Definition at line 56 of file index.h.

TBCI::Index::Index ( const Index idx  )  [inline]

Definition at line 57 of file index.h.

TBCI::Index::Index ( const Vector< unsigned > &  vec  )  [inline]

Definition at line 58 of file index.h.

TBCI::Index::Index ( const TVector< unsigned > &  tv  )  [inline]

Definition at line 59 of file index.h.

TBCI::Index::Index ( vararg  va,
  ... 
) [inline]

Definition at line 61 of file index.h.


Member Function Documentation

void TBCI::Index::lin_read ( vararg  va,
  ... 
) [inline]

Definition at line 70 of file index.h.

Index TBCI::Index::next_idx ( const Index max  )  [inline]

Index TBCI::Index::prev_idx ( const Index max  )  [inline]

Definition at line 94 of file index.h.

References BCHK, TBCI::BVector< T >::dim, and max.

TVector< unsigned > TBCI::Index::idx_fill_in1 ( const unsigned  where,
const unsigned  what 
) const [inline]

TVector< unsigned > TBCI::Index::idx_fill_in2 ( const unsigned  where1,
const unsigned  what1,
const unsigned  where2,
const unsigned  what2 
) const [inline]

TVector< unsigned > TBCI::Index::idx_remove1 ( const unsigned  which  )  const [inline]

Definition at line 174 of file index.h.

References BCHK, TBCI::TVector< T >::set(), and TBCI::TVector< unsigned >::size().

Referenced by TBCI::idx_remove1().

TVector< unsigned > TBCI::Index::idx_remove2 ( const unsigned  which1,
const unsigned  which2 
) const [inline]

Definition at line 191 of file index.h.

References BCHK, TBCI::TVector< T >::set(), and TBCI::TVector< unsigned >::size().

Referenced by TBCI::idx_remove2().

TVector< unsigned > TBCI::Index::idx_set1 ( const unsigned  which,
const unsigned  what 
) const [inline]

Definition at line 209 of file index.h.

References BCHK, TBCI::TVector< T >::set(), and TBCI::TVector< unsigned >::size().

Referenced by TBCI::idx_set1().


The documentation for this class was generated from the following file:

Generated on Wed Nov 20 09:29:32 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6