|
TBCI Numerical high perf. C++ Library 2.8.0
|
#include <vector.h>


Public Types | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN(MIN_ALIGN2) |
Public Member Functions | |
| void | detach (const T *=0) const |
| void | destroy () const |
| const TSVector< T > & | eval (const T *vv=0) const |
| TSVector () | |
| ~TSVector () | |
| TSVector (const unsigned long d) | |
| TSVector (const TSVector< T > &ts) | |
| TSVector (const TVector< T > &tv, const T &f=(T) 1) | |
| TSVector (const Vector< T > &v, const T &f=(T) 1) | |
| T | operator() (const unsigned long i) const |
| T | operator[] (const unsigned long i) const |
| T | get (const unsigned long i) const HOT |
| const T & | getfac () const |
| T & | getfacref () const |
| const T & | getcref (const unsigned long i) const HOT |
| TSVector< T > & | operator= (const TSVector< T > &ts) |
| TSVector< T > & | operator= (const TVector< T > &tv) |
| TSVector< T > & | operator*= (const T &f) |
| TSVector< T > & | operator/= (const T &f) |
| const TSVector< T > & | operator* (const T &f) const |
| const TSVector< T > & | operator/ (const T &f) const |
| const TSVector< T > & | operator- () const |
| TVector< T > | operator+ (const Vector< T > &) const HOT |
| TV = TSV + V. | |
| TVector< T > | operator+ (TVector< T >) const HOT |
| TV = TSV + TV Transformed to TV += TSV. | |
| TVector< T > | operator+ (const TSVector< T > &) const HOT |
| TV = TSV + TSV. | |
| TVector< T > | operator+ (const T &) const |
| TV = TSV + V. | |
| TVector< T > | operator- (const Vector< T > &) const HOT |
| TV = TSV - V. | |
| TVector< T > | operator- (TVector< T >) const HOT |
| TV = TSV - TV Transformed to -TV -= TSV. | |
| TVector< T > | operator- (const TSVector< T > &) const HOT |
| TV = TSV - TSV. | |
| TVector< T > | operator- (const T &) const |
| TV = TSV - V. | |
| TVector< T > | add_t_tsv (const T &) const |
| Helper member fn to prevent friendship TV = T + TSV. | |
| TVector< T > | sub_t_tsv (const T &) const |
| TV = T - TSV. | |
| TVector< T > | incr (const unsigned long, const T=(T) 1) const |
| unsigned long | size () const |
| T | min () |
| T | max () |
| T | abs () const |
| double | fabs () const |
| double | fabssqr () const |
| T | sum () |
| bool | operator== (const Vector< T > &) const |
| bool | operator!= (const Vector< T > &v) const |
| bool | operator== (const TSVector< T > &) const |
| bool | operator!= (const TSVector< T > &ts) const |
| bool | operator== (const TVector< T > &tv) const |
| bool | operator!= (const TVector< T > &tv) const |
| T *const & | vecptr () 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 |
| 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 |
Static Public Member Functions | |
| static const char * | vec_info () |
| Static Public Member Functions inherited from BVector_Sig< T > | |
| static const char * | vec_info () |
Public Attributes | |
| bool | mut |
Protected Member Functions | |
| T fac | ALIGN (MIN_ALIGN2) |
| void | clone (const bool=false, const T *=0) const |
Protected Attributes | |
| T * | vec |
| unsigned long | dim |
Friends | |
| class | Vector< T > |
| class | TVector< T > |
| class | CRMatrix< T > |
| NOINST void FRIEND_TBCI2__ do_mat_tsv_mult | FGD (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const TSVector< T > *rsv) |
| NOINST double FRIEND_TBCI__ fabssqr | FGDT (const TSVector< T > &) |
| STD__ ostream & | operator<<FGD (STD__ ostream &, const TSVector< T > &) |
Scaled temporary Vectors. Optimize operations by deferring the scaling of a Vector. Don't use them explicitly!
| typedef T aligned_value_type TSVector< T >::TALIGN(MIN_ALIGN2) |
Definition at line 1053 of file vector.h.
References dim, fac, mut, T, true, and vec.
Referenced by TVector< T >::BdMatrix< T >, eval(), FGD, FGDT, operator!=(), operator*(), operator*=(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator<<FGD, operator=(), operator=(), operator==(), and TSVector().
Helper member fn to prevent friendship TV = T + TSV.
Definition at line 1420 of file vector.h.
References BVector< T >::dim, dim, fac, LIKELY, mut, BVector< T >::resize(), CRMatrix< T >::size(), STD_SMP_TEMPLATE4C, T, BVector< T >::vec, and vec.
Referenced by operator+().
References fac, MIN_ALIGN2, and T.
Definition at line 1172 of file vector.h.
References dim, LIKELY, mut, T, TBCIDELETE, and vec.
Referenced by cediv(), cemul(), ediv(), emul(), operator()(), CRMatrix< T >::operator*(), CSCMatrix< T >::operator*(), operator+(), operator-(), operator=(), operator=(), Vector< T >::operator==(), and sum().
Definition at line 1221 of file vector.h.
References clone(), dim, fac, mut, REGISTER, STD_SMP_TEMPLATE2C, T, TSVector(), and vec.
Referenced by TVector< T >::operator=().
Definition at line 1123 of file vector.h.
References Vector< T >::max(), and T.
Definition at line 1122 of file vector.h.
References Vector< T >::min(), and T.
Definition at line 1158 of file vector.h.
References ts, and TSVector().
Definition at line 1093 of file vector.h.
References fac, T, and TSVector().
Definition at line 1091 of file vector.h.
References fac, T, and TSVector().
TV = TSV + V.
Definition at line 1390 of file vector.h.
References BVector< T >::dim, dim, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE4C, T, BVector< T >::vec, and vec.
|
inline |
TV = TSV + TSV.
Definition at line 1351 of file vector.h.
References BCHK, destroy(), BVector< T >::dim, dim, dims, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE5, TSVector(), UNLIKELY, BVector< T >::vec, and vec.
TV = TSV + V.
Definition at line 1320 of file vector.h.
References BCHK, BVector< T >::dim, dim, dims, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE4V, BVector< T >::vec, and vec.
TV = TSV + TV Transformed to TV += TSV.
Definition at line 1298 of file vector.h.
References BCHK, CRMatrix< T >::destroy(), BVector< T >::dim, dim, dims, fac, STD_SMP_TEMPLATE3VC, BVector< T >::vec, and vec.
Definition at line 1096 of file vector.h.
References fac, and TSVector().
TV = TSV - V.
Definition at line 1404 of file vector.h.
References BVector< T >::dim, dim, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE4C, T, BVector< T >::vec, and vec.
|
inline |
TV = TSV - TSV.
Definition at line 1370 of file vector.h.
References BCHK, destroy(), BVector< T >::dim, dim, dims, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE5, TSVector(), UNLIKELY, BVector< T >::vec, and vec.
TV = TSV - V.
Definition at line 1335 of file vector.h.
References BCHK, BVector< T >::dim, dim, dims, fac, LIKELY, mut, BVector< T >::resize(), STD_SMP_TEMPLATE4V, BVector< T >::vec, and vec.
TV = TSV - TV Transformed to -TV -= TSV.
Definition at line 1309 of file vector.h.
References BCHK, CRMatrix< T >::destroy(), BVector< T >::dim, dim, dims, fac, STD_SMP_TEMPLATE3VC, BVector< T >::vec, and vec.
Definition at line 1094 of file vector.h.
References fac, T, and TSVector().
Definition at line 1092 of file vector.h.
References fac, T, and TSVector().
Definition at line 1081 of file vector.h.
References destroy(), BVector< T >::dim, dim, fac, mut, T, TSVector(), BVector< T >::vec, and vec.
Definition at line 1241 of file vector.h.
References CRMatrix< T >::destroy(), BVector< T >::dim, dim, fac, i, LIKELY, REGISTER, T, TBCICOMP, UNLIKELY, BVector< T >::vec, and vec.
Definition at line 1069 of file vector.h.
References i, operator()(), and T.
Definition at line 1120 of file vector.h.
References dim.
Referenced by cediv(), cemul(), dot(), ediv(), ediv(), emul(), HOTDECL(), CRMatrix< T >::operator*(), CSCMatrix< T >::operator*(), and Matrix< T >::operator*().
TV = T - TSV.
Definition at line 1440 of file vector.h.
References BVector< T >::dim, dim, fac, LIKELY, mut, BVector< T >::resize(), CRMatrix< T >::size(), STD_SMP_TEMPLATE4C, T, BVector< T >::vec, and vec.
Referenced by operator-().
|
friend |
References do_mat_tsv_mult(), end, FRIEND_TBCI2__, NOINST, res, and TSVector().
References abs(), CSTD__, fabs(), fabssqr(), FRIEND_TBCI__, MATH__, NOINST, T, TBCI__, and TSVector().
|
friend |
References STD__, and TSVector().
Definition at line 1029 of file vector.h.
Referenced by add_t_tsv(), clone(), destroy(), detach(), eval(), HOTDECL(), HOTDECL(), incr(), operator+(), operator+(), operator+(), operator+(), operator+(), operator-(), operator-(), operator-(), operator-(), operator-(), operator=(), operator=(), TVector< T >::operator=(), operator==(), operator==(), Vector< T >::operator==(), par_fill(), size(), sub_t_tsv(), TSVector(), TSVector(), TSVector(), TSVector(), and TSVector().
Definition at line 1037 of file vector.h.
Referenced by add_t_tsv(), cediv(), cemul(), clone(), destroy(), detach(), ediv(), emul(), eval(), operator+(), operator+(), operator+(), operator-(), operator-(), operator-(), operator=(), operator=(), TVector< T >::operator=(), sub_t_tsv(), TSVector(), TSVector(), TSVector(), TSVector(), and TSVector().
Definition at line 1029 of file vector.h.
Referenced by add_t_tsv(), clone(), destroy(), detach(), eval(), get(), getcref(), operator()(), operator+(), operator+(), operator+(), operator+(), operator-(), operator-(), operator-(), operator-(), operator=(), operator=(), TVector< T >::operator=(), operator==(), operator==(), Vector< T >::operator==(), par_fill(), sub_t_tsv(), TSVector(), TSVector(), TSVector(), TSVector(), TSVector(), and vecptr().