|
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 (const unsigned &val, const unsigned long d) | |
| Vector (const BVector< unsigned > &bv) | |
| Vector (const Vector< unsigned > &v) | |
| Vector (const TSVector< unsigned > &ts) | |
| Vector (const TVector< unsigned > &tv) | |
| Vector (const Mat_Brack< unsigned > &) | |
| Vector (const vararg va,...) | |
| Vector (const BVector< U > &bv) | |
| ~Vector () | |
| tbci_traits< unsigned > ::const_refval_type | operator() (const unsigned long i) const |
| unsigned & | operator() (const unsigned long i) |
| tbci_traits< unsigned > ::const_refval_type | operator[] (const unsigned long i) const |
| unsigned & | operator[] (const unsigned long i) |
| 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) |
| Vector< unsigned > & | operator= (const Vector< unsigned > &v) HOT |
| assignment operator does NOT resize the Vector! More... | |
| Vector< unsigned > & | operator= (const TSVector< unsigned > &ts) HOT |
| Vector< unsigned > & | operator= (const TVector< unsigned > &tv) HOT |
| bool | operator== (const Vector< unsigned > &v) const |
| bool | operator== (const TSVector< unsigned > &) const |
| bool | operator== (const TVector< unsigned > &tv) const |
| bool | operator!= (const Vector< unsigned > &v) const |
| bool | operator!= (const TSVector< unsigned > &ts) const |
| bool | operator!= (const TVector< unsigned > &tv) 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 |
| TVector< unsigned > | operator+ (TVector< unsigned > tv) const HOT |
| TVector< unsigned > | operator+ (const TSVector< unsigned > &) const HOT |
| TVector< unsigned > | operator+ (const unsigned &) const |
| TVector< unsigned > | operator- (const Vector< unsigned > &) const HOT |
| TVector< unsigned > | operator- (TVector< unsigned > tv) const HOT |
| TVector< unsigned > | operator- (const TSVector< unsigned > &) const HOT |
| TVector< unsigned > | operator- (const unsigned &) const |
| TVector< unsigned > | operator- () const |
| TSVector< unsigned > | operator* (const unsigned &) const |
| unsigned | operator* (const Vector< unsigned > &) const |
| unsigned | operator* (TVector< unsigned > &tv) const |
| TSVector< unsigned > | operator/ (const unsigned &) const |
| unsigned | operator/ (const Vector< unsigned > &) const |
| unsigned | min () const |
| unsigned | min (unsigned long &pos) const |
| unsigned | max () const |
| unsigned | max (unsigned long &pos) 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< T > | |
| TVector (const unsigned long d=0) | |
| TVector (const T &val, const unsigned long d) | |
| TVector (const BVector< T > &bv) | |
| TVector (const Vector< T > &v) | |
| TVector (const TVector< T > &tv) HOT | |
| TVector (const TSVector< T > &ts) | |
| TVector (const Mat_Brack< T > &) | |
| ~TVector () | |
| unsigned long | size () const |
| TVector< T > & | operator= (const T &a) |
| TVector< T > & | operator= (const Vector< T > &v) |
| TVector< T > & | operator= (const TVector< T > &tv) |
| alias More... | |
| TVector< T > & | operator= (const TSVector< T > &ts) |
| bool | operator== (const TVector< T > &tv) const |
| bool | operator!= (const TVector< T > &tv) const |
| bool | operator== (const Vector< T > &v) const |
| bool | operator!= (const Vector< T > &v) const |
| bool | operator== (const BVector< T > &bv) const |
| bool | operator!= (const BVector< T > &v) const |
| bool | operator== (const TSVector< T > &tsv) const |
| bool | operator!= (const TSVector< T > &tsv) const |
| TVector< T > & | operator+= (const T &) |
| TV += a. More... | |
| TVector< T > & | operator-= (const T &) |
| TV -= a. More... | |
| TVector< T > & | operator*= (const T &) |
| TV *= a. More... | |
| TVector< T > & | operator/= (const T &) |
| TV /= a. More... | |
| TVector< T > & | operator+= (const Vector< T > &) HOT |
| TV += V. More... | |
| TVector< T > & | operator-= (const Vector< T > &) HOT |
| TV -= V. More... | |
| TVector< T > & | operator+= (const TVector< T > &tv) |
| TVector< T > & | operator-= (const TVector< T > &tv) |
| TVector< T > & | operator+= (const TSVector< T > &tsv) HOT |
| TV += TSV. More... | |
| TVector< T > & | operator-= (const TSVector< T > &tsv) HOT |
| TV -= TSV. More... | |
| T | min () |
| T | max () |
| T | sum () |
| double | fabssqr () |
| double | fabs () |
| T | abs () |
| TVector< T > & | operator+ (const Vector< T > &) HOT |
| TVector< T > & | operator- (const Vector< T > &) HOT |
| TVector< T > & | operator+ (const TSVector< T > &ts) HOT |
| TV = TV + TSV Transformed to TV += TSV. More... | |
| TVector< T > & | operator- (const TSVector< T > &ts) HOT |
| TV = TV - TSV Transformed to TV -= TSV. More... | |
| const TVector< T > & | operator+ (const TVector< T > &a) HOT |
| TV = TV + TV Transformed to TV += TV. More... | |
| const TVector< T > & | operator- (const TVector< T > &a) HOT |
| TV = TV - TV Transformed to TV -= TV. More... | |
| T | operator() (const unsigned long i) |
| T | operator[] (const unsigned long i) |
| const T & | getcref (const unsigned long i) const |
| tbci_traits< T >::const_refval_type | get (const unsigned long i) const |
| T & | setval (const unsigned long i) const |
| T & | setval (const T &val, const unsigned long i) const |
| T & | set (const T &val, const unsigned long i) const |
| TVector< T > | slice (const unsigned long, const unsigned long) |
| TVector< T > & | incr (const unsigned long, const T=(T) 1) |
| TVector< T > & | operator+ (const T &) |
| TVector< T > & | operator- (const T &) |
| TSVector< T > | operator* (const T &) |
| TSVector< T > | operator/ (const T &) |
| TSVector< T > | operator- () |
| T | operator* (const Vector< T > &v) |
| T | operator* (TVector< T > &tv) |
| template<typename U > | |
| TVector (const BVector< U > &bv) | |
Public Member Functions inherited from BVector< T > | |
| BVector (const unsigned long=0) | |
| BVector (const T &, const unsigned long) | |
| BVector (const BVector< T > &) HOT | |
| copy constructor More... | |
| BVector (const vararg va,...) | |
| void | destroy () |
| ~BVector () | |
| BVector< T > & | init_0 () |
| BVector< T > & | fill (const T &) HOT |
| BVector< T > & | resize (const BVector< T > &) |
| Actually it's a resize and copy (some people would expect the assignment op to do this) More... | |
| BVector< T > & | resize (const unsigned long) |
| BVector< T > & | resize (const T &, const unsigned long) |
| BVector< T > & | cheapdownsize (const unsigned long) |
| BVector< T > & | clear () |
| BVector< T > & | append (const T &) |
| performs poorly More... | |
| BVector< T > & | push_back (const T &value) |
| performs poorly More... | |
| BVector< T > & | append (const BVector< T > &) |
| BVector< T > & | remove (const unsigned long) |
| BVector< T > & | revert () |
| BVector< T > & | bubble_sort () |
| BVector< T > & | swap (BVector< T > &v) |
| T & | operator() (const unsigned long) HOT |
| tbci_traits< T >::const_refval_type | operator() (const unsigned long) const HOT |
| const T & | getcref (const unsigned long idx) const |
| tbci_traits< T >::const_refval_type | get (const unsigned long idx) const HOT |
| T & | set (const unsigned long idx) HOT |
| T & | set (const T &val, unsigned long idx) |
| T & | operator[] (const unsigned long i) |
| tbci_traits< T >::const_refval_type | operator[] (const unsigned long i) const |
| unsigned long | size () const HOT |
| T *const & | vecptr () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| BVector< T > & | setptr (T *pointer) |
| BVector< T > & | setsize (const unsigned long size) |
| T *const & | get_fortran_vector () const |
| void | set_fortran_vector (T *pointer) |
| BVector< T > & | operator= (const T &a) |
| BVector< T > & | operator= (const BVector< T > &) HOT |
| Note that the assignment op does NEVER resize the target BVector. More... | |
| BVector< T > & | alias (const BVector< T > &bv) |
| BVector< T > & | copy (const BVector< T > &bv) |
| copy does a resize, if necessary More... | |
| bool | operator== (const BVector< T > &) const HOT |
| KG, 2001-06-29: Strange: If we don't inline this, we seems to get better performance in our solver benchmark (iPIII) More... | |
| bool | operator!= (const BVector< T > &bv) const |
| bool | operator<= (const BVector< T > &bv) const |
| bool | operator>= (const BVector< T > &bv) const |
| bool | operator< (const BVector< T > &bv) const |
| bool | operator> (const BVector< T > &bv) const |
| bool | contains (const T &, unsigned long *=0) const |
| BVector< T > | concat (const BVector< T > &) const |
| template<typename U > | |
| BVector (const BVector< U > &bv) | |
Public Member Functions inherited from BVector_Sig< T > | |
| BVector_Sig () | |
| BVector_Sig (const unsigned long) | |
| ~BVector_Sig () | |
| T & | operator() (const unsigned long) |
| tbci_traits< T >::const_refval_type | operator() (const unsigned long) const |
| unsigned long | size () const |
| BVector_Sig< T > & | fill (const T &) |
| BVector_Sig< T > & | clear () |
| bool | operator== (const BVector_Sig< T > &) const |
| bool | operator!= (const BVector_Sig< T > &) const |
Public Member Functions inherited from Vector_Sig< T > | |
| Vector_Sig () | |
| Vector_Sig (const unsigned) | |
| ~Vector_Sig () | |
| Vector_Sig< T > | operator+ (const Vector_Sig< T > &) const |
| Vector_Sig< T > | operator- (const Vector_Sig< T > &) const |
| Vector_Sig< T > | operator* (const T &) const |
| Vector_Sig< T > | operator/ (const T &) const |
| Vector_Sig< T > & | operator+= (const Vector_Sig< T > &) |
| Vector_Sig< T > & | operator-= (const Vector_Sig< T > &) |
| Vector_Sig< T > & | operator*= (const T &) |
| Vector_Sig< T > & | operator/= (const T &) |
| bool | operator<= (const Vector_Sig< T > &) const |
| bool | operator>= (const Vector_Sig< T > &) const |
| bool | operator< (const Vector_Sig< T > &) const |
| bool | operator> (const Vector_Sig< T > &) const |
Additional Inherited Members | |
Public Types inherited from Vector< unsigned > | |
| typedef unsigned | value_type |
| typedef unsigned | element_type |
| typedef unsignedaligned_value_type | TALIGN (MIN_ALIGN2) |
Public Types inherited from TVector< T > | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN (MIN_ALIGN2) |
Public Types inherited from BVector< T > | |
| typedef T * | iterator |
| STL-like iterator support. More... | |
| typedef const T * | const_iterator |
Static Public Member Functions inherited from Vector< unsigned > | |
| static const char * | vec_info () |
Static Public Member Functions inherited from TVector< T > | |
| static const char * | vec_info () |
Static Public Member Functions inherited from BVector< T > | |
| static const char * | vec_info () |
Static Public Member Functions inherited from BVector_Sig< T > | |
| static const char * | vec_info () |
Protected Types inherited from BVector< T > | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN (MIN_ALIGN2) |
Protected Attributes inherited from BVector< T > | |
| T * | 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 |
|
inline |
Definition at line 130 of file index.h.
References BCHK, i, TVector< T >::set(), and TVector< T >::size().
Referenced by idx_fill_in1().
|
inline |
Definition at line 150 of file index.h.
References BCHK, i, TVector< T >::set(), and TVector< T >::size().
Referenced by idx_fill_in2().
|
inline |
Definition at line 174 of file index.h.
References BCHK, i, index, TVector< T >::set(), and TVector< T >::size().
Referenced by idx_remove1().
|
inline |
Definition at line 191 of file index.h.
References a, BCHK, i, TVector< T >::set(), and TVector< T >::size().
Referenced by idx_remove2().
|
inline |
Definition at line 209 of file index.h.
References BCHK, index, TVector< T >::set(), and TVector< T >::size().
Referenced by idx_set1().
Definition at line 86 of file index.h.
References BCHK, BVector< T >::dim, and Vector< unsigned >::max().
Referenced by Tensor< T >::cntrmul(), 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< T >::dim, and Vector< unsigned >::max().
1.8.5