#include <index.h>


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 |
Class to address TBCI::Tensor elements. Derived from TBCI::Vector <unsigned>
Definition at line 48 of file index.h.
| TBCI::Index::Index | ( | const unsigned | value, | |
| const unsigned | dim | |||
| ) | [inline] |
| TBCI::Index::Index | ( | const Vector< unsigned > & | vec | ) | [inline] |
| TBCI::Index::Index | ( | const TVector< unsigned > & | tv | ) | [inline] |
Definition at line 86 of file index.h.
References BCHK, TBCI::BVector< T >::dim, and max.
Referenced by TBCI::Tensor< T >::cntrmul(), TBCI::ctrmul(), TBCI::dctmul(), TBCI::Tensor< T >::drctmul(), TBCI::metrmul(), TBCI::Tensor< T >::operator+(), TBCI::Tensor< T >::operator+=(), TBCI::Tensor< T >::operator-(), TBCI::Tensor< T >::operator-=(), TBCI::operator<<(), TBCI::CTensor< T >::operator==(), and TBCI::operator>>().
| TVector< unsigned > TBCI::Index::idx_fill_in1 | ( | const unsigned | where, | |
| const unsigned | what | |||
| ) | const [inline] |
Definition at line 130 of file index.h.
References BCHK, TBCI::TVector< T >::set(), TBCI::TVector< T >::size(), and TBCI::TVector< unsigned >::size().
Referenced by TBCI::idx_fill_in1().
| TVector< unsigned > TBCI::Index::idx_fill_in2 | ( | const unsigned | where1, | |
| const unsigned | what1, | |||
| const unsigned | where2, | |||
| const unsigned | what2 | |||
| ) | const [inline] |
Definition at line 150 of file index.h.
References BCHK, TBCI::TVector< T >::set(), TBCI::TVector< T >::size(), and TBCI::TVector< unsigned >::size().
Referenced by TBCI::idx_fill_in2().
| 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().
1.5.6