|
TBCI Numerical high perf. C++ Library 2.8.0
|
Note that this #pragma interface might create problems as the class index is not templated! More...
#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 |
| Public Member Functions inherited from Vector< unsigned > | |
| Vector (const unsigned long d=0) | |
| ~Vector () | |
| tbci_traits< unsigned >::const_refval_type | operator() (const unsigned long i) const |
| tbci_traits< unsigned >::const_refval_type | operator[] (const unsigned long i) const |
| Vector< unsigned > & | fill (const unsigned &v) |
| Vector< unsigned > & | clear () |
| TVector< unsigned > | slice (unsigned long, unsigned long) const |
| TVector< unsigned > | incr (const unsigned long, const unsigned=(unsigned) 1) const |
| Vector< unsigned > & | operator= (const unsigned &a) |
| bool | operator== (const Vector< unsigned > &v) const |
| bool | operator!= (const Vector< unsigned > &v) const |
| bool | operator<= (const Vector< unsigned > &v) const |
| bool | operator>= (const Vector< unsigned > &v) const |
| bool | operator< (const Vector< unsigned > &v) const |
| bool | operator> (const Vector< unsigned > &v) const |
| TVector< unsigned > | operator+ (const Vector< unsigned > &) const HOT |
| TV = V + V. | |
| TVector< unsigned > | operator- (const Vector< unsigned > &) const HOT |
| TV = V - V. | |
| TSVector< unsigned > | operator* (const unsigned &) const |
| TSVector< unsigned > | operator/ (const unsigned &) const |
| unsigned | min () const |
| unsigned | max () const |
| unsigned | sum () const |
| double | fabssqr () const HOT |
| double | fabs () const |
| unsigned | abs () const |
| bool | contains (const unsigned &v) const |
| Public Member Functions inherited from TVector< unsigned > | |
| TVector (const unsigned long d=0) | |
| ~TVector () | |
| unsigned long | size () const |
| TVector< unsigned > & | operator= (const unsigned &a) |
| bool | operator== (const TVector< unsigned > &tv) const |
| bool | operator!= (const TVector< unsigned > &tv) const |
| TVector< unsigned > & | operator+= (const unsigned &) |
| TV += a. | |
| TVector< unsigned > & | operator-= (const unsigned &) |
| TV -= a. | |
| TVector< unsigned > & | operator*= (const unsigned &) |
| TV *= a. | |
| TVector< unsigned > & | operator/= (const unsigned &) |
| TV /= a. | |
| unsigned | min () |
| unsigned | max () |
| unsigned | sum () |
| double | fabssqr () |
| double | fabs () |
| unsigned | abs () |
| TVector< unsigned > & | operator+ (const Vector< unsigned > &) HOT |
| TVector< unsigned > & | operator- (const Vector< unsigned > &) HOT |
| unsigned | operator() (const unsigned long i) |
| unsigned | operator[] (const unsigned long i) |
| const unsigned & | getcref (const unsigned long i) const |
| tbci_traits< unsigned >::const_refval_type | get (const unsigned long i) const |
| unsigned & | setval (const unsigned long i) const |
| unsigned & | set (const unsigned &val, const unsigned long i) const |
| TVector< unsigned > | slice (const unsigned long, const unsigned long) |
| TVector< unsigned > & | incr (const unsigned long, const unsigned=(unsigned) 1) |
| TSVector< unsigned > | operator* (const unsigned &) |
| TSVector< unsigned > | operator/ (const unsigned &) |
| Public Member Functions inherited from BVector< unsigned > | |
| void | destroy () |
| ~BVector () | |
| BVector< unsigned > & | init_0 () |
| BVector< unsigned > & | fill (const unsigned &) HOT |
| BVector< unsigned > & | resize (const BVector< unsigned > &) |
| Actually it's a resize and copy (some people would expect the assignment op to do this). | |
| BVector< unsigned > & | cheapdownsize (const unsigned long) |
| BVector< unsigned > & | clear () |
| BVector< unsigned > & | append (const unsigned &) |
| performs poorly | |
| BVector< unsigned > & | push_back (const unsigned &value) |
| performs poorly | |
| BVector< unsigned > & | remove (const unsigned long) |
| BVector< unsigned > & | revert () |
| BVector< unsigned > & | bubble_sort () |
| BVector< unsigned > & | swap (BVector< unsigned > &v) |
| unsigned & | operator() (const unsigned long) HOT |
| const unsigned & | getcref (const unsigned long idx) const |
| tbci_traits< unsigned >::const_refval_type | get (const unsigned long idx) const HOT |
| unsigned & | set (const unsigned long idx) HOT |
| unsigned & | operator[] (const unsigned long i) |
| unsigned long | size () const HOT |
| unsigned *const & | vecptr () const |
| iterator | begin () |
| iterator | end () |
| BVector< unsigned > & | setptr (unsigned *pointer) |
| BVector< unsigned > & | setsize (const unsigned long size) |
| unsigned *const & | get_fortran_vector () const |
| void | set_fortran_vector (unsigned *pointer) |
| BVector< unsigned > & | operator= (const unsigned &a) |
| BVector< unsigned > & | alias (const BVector< unsigned > &bv) |
| BVector< unsigned > & | copy (const BVector< unsigned > &bv) |
| copy does a resize, if necessary | |
| bool | operator== (const BVector< unsigned > &) const HOT |
| KG, 2001-06-29: Strange: If we don't inline this, we seems to get better performance in our solver benchmark (iPIII). | |
| bool | operator!= (const BVector< unsigned > &bv) const |
| bool | operator<= (const BVector< unsigned > &bv) const |
| bool | operator>= (const BVector< unsigned > &bv) const |
| bool | operator< (const BVector< unsigned > &bv) const |
| bool | operator> (const BVector< unsigned > &bv) const |
| bool | contains (const unsigned &, unsigned long *=0) const |
| BVector< unsigned > | concat (const BVector< unsigned > &) const |
| Public Member Functions inherited from BVector_Sig< unsigned > | |
| BVector_Sig () | |
| ~BVector_Sig () | |
| unsigned & | operator() (const unsigned long) |
| unsigned long | size () const |
| BVector_Sig< unsigned > & | fill (const unsigned &) |
| BVector_Sig< unsigned > & | clear () |
| bool | operator== (const BVector_Sig< unsigned > &) const |
| bool | operator!= (const BVector_Sig< unsigned > &) const |
| Public Member Functions inherited from Vector_Sig< unsigned > | |
| Vector_Sig () | |
| ~Vector_Sig () | |
| Vector_Sig< unsigned > | operator+ (const Vector_Sig< unsigned > &) const |
| Vector_Sig< unsigned > | operator- (const Vector_Sig< unsigned > &) const |
| Vector_Sig< unsigned > | operator* (const unsigned &) const |
| Vector_Sig< unsigned > | operator/ (const unsigned &) const |
| Vector_Sig< unsigned > & | operator+= (const Vector_Sig< unsigned > &) |
| Vector_Sig< unsigned > & | operator-= (const Vector_Sig< unsigned > &) |
| Vector_Sig< unsigned > & | operator*= (const unsigned &) |
| Vector_Sig< unsigned > & | operator/= (const unsigned &) |
| bool | operator<= (const Vector_Sig< unsigned > &) const |
| bool | operator>= (const Vector_Sig< unsigned > &) const |
| bool | operator< (const Vector_Sig< unsigned > &) const |
| bool | operator> (const Vector_Sig< unsigned > &) const |
Additional Inherited Members | |
| Public Types inherited from Vector< unsigned > | |
| typedef unsigned | value_type |
| typedef unsigned | element_type |
| typedef unsigned aligned_value_type | TALIGN(MIN_ALIGN2) |
| Public Types inherited from TVector< unsigned > | |
| typedef unsigned | value_type |
| typedef unsigned | element_type |
| typedef unsigned aligned_value_type | TALIGN(MIN_ALIGN2) |
| Public Types inherited from BVector< unsigned > | |
| typedef unsigned * | iterator |
| STL-like iterator support. | |
| typedef const unsigned * | const_iterator |
| Static Public Member Functions inherited from Vector< unsigned > | |
| static const char * | vec_info () |
| Static Public Member Functions inherited from TVector< unsigned > | |
| static const char * | vec_info () |
| Static Public Member Functions inherited from BVector< unsigned > | |
| static const char * | vec_info () |
| Static Public Member Functions inherited from BVector_Sig< unsigned > | |
| static const char * | vec_info () |
| Protected Types inherited from BVector< unsigned > | |
| typedef unsigned | value_type |
| typedef unsigned | element_type |
| typedef unsigned aligned_value_type | TALIGN(MIN_ALIGN2) |
| Protected Attributes inherited from BVector< unsigned > | |
| unsigned * | vec |
| unsigned long | dim |
| bool | keep |
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>
|
inline |
Definition at line 54 of file index.h.
References Vector< unsigned >::Vector().
Referenced by idx_fill_in1(), idx_fill_in2(), idx_remove2(), Index(), next_idx(), and prev_idx().
|
inline |
Definition at line 55 of file index.h.
References BVector< unsigned >::dim, and Vector< unsigned >::Vector().
|
inline |
Definition at line 56 of file index.h.
References BVector< unsigned >::dim, and Vector< unsigned >::Vector().
|
inline |
Definition at line 57 of file index.h.
References Index(), and Vector< unsigned >::Vector().
|
inline |
Definition at line 58 of file index.h.
References BVector< unsigned >::vec, and Vector< unsigned >::Vector().
|
inline |
Definition at line 59 of file index.h.
References Vector< unsigned >::Vector().
|
inline |
Definition at line 61 of file index.h.
References i, and Vector< unsigned >::Vector().
|
inline |
Definition at line 130 of file index.h.
References BCHK, i, Index(), TVector< T >::set(), TVector< T >::size(), TVector< unsigned >::size(), and TVector< unsigned >::TVector().
Referenced by idx_fill_in1().
|
inline |
Definition at line 150 of file index.h.
References BCHK, i, Index(), TVector< T >::set(), TVector< T >::size(), TVector< unsigned >::size(), and TVector< unsigned >::TVector().
Referenced by idx_fill_in2().
|
inline |
Definition at line 174 of file index.h.
References BCHK, i, index, BVector< unsigned >::remove(), TVector< T >::set(), TVector< unsigned >::size(), and TVector< unsigned >::TVector().
Referenced by idx_remove1().
|
inline |
Definition at line 191 of file index.h.
References a, BCHK, i, Index(), BVector< unsigned >::remove(), TVector< T >::set(), TVector< unsigned >::size(), and TVector< unsigned >::TVector().
Referenced by idx_remove2().
|
inline |
Definition at line 209 of file index.h.
References BCHK, index, TVector< T >::set(), TVector< unsigned >::set(), TVector< unsigned >::size(), and TVector< unsigned >::TVector().
Referenced by idx_set1().
Definition at line 86 of file index.h.
References BCHK, BVector< unsigned >::dim, Index(), and Vector< unsigned >::max().
Referenced by Tensor< T >::cntrmul(), Tensor< T >::contract(), ctrmul(), dctmul(), Tensor< T >::drctmul(), metrmul(), Tensor< T >::operator+(), Tensor< T >::operator+=(), Tensor< T >::operator-(), Tensor< T >::operator-=(), operator<<(), CTensor< T >::operator==(), and operator>>().
Definition at line 94 of file index.h.
References BCHK, BVector< unsigned >::dim, Index(), and Vector< unsigned >::max().