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


Public Types | |
| typedef T * | Tptr |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN (MIN_ALIGN2) |
Public Member Functions | |
| void | detach (TMatrix< T > *=0) |
| T * | getvec () const |
| T * | getendvec () const |
| T & | getfac () |
| const T & | getfac () const |
| TSMatrix () | |
| ~TSMatrix () | |
| TSMatrix (const TMatrix< T > &tm, const T &f=(T) 1) | |
| TSMatrix (const Matrix< T > &m, const T &f=(T) 1) | |
| TSMatrix (const TSMatrix< T > &ts) | |
| T | operator() (const unsigned int r, const unsigned int c) HOT |
| TSMatrix< T > & | eval (TMatrix< T > *=0) |
| TSMatrix< T > & | operator= (const TSMatrix< T > &ts) |
| TSMatrix< T > & | operator= (const TMatrix< T > &tm) |
| TSMatrix< T > & | operator*= (const T &f) |
| TSMatrix< T > & | operator/= (const T &f) |
| TSMatrix< T > & | operator* (const T &f) |
| TSMatrix< T > & | operator/ (const T &f) |
| TSMatrix< T > & | operator- () |
| TMatrix< T > | operator+ (const Matrix< T > &) |
| TMatrix< T > | operator+ (const TMatrix< T > &) |
| TMatrix< T > | operator+ (TSMatrix< T >) |
| TMatrix< T > | operator+ (const T &) |
| TMatrix< T > | operator- (const Matrix< T > &) |
| TMatrix< T > | operator- (const TMatrix< T > &) |
| TMatrix< T > | operator- (TSMatrix< T >) |
| TMatrix< T > | operator- (const T &) |
| TMatrix< T > | operator* (const Matrix< T > &m) |
| TMatrix< T > | operator* (TMatrix< T > tm) |
| TVector< T > | operator* (const Vector< T > &v) |
| TVector< T > | operator* (TVector< T > tv) |
| bool | operator== (const Matrix< T > &) |
| bool | operator!= (const Matrix< T > &m) |
| bool | operator== (TSMatrix< T > &) |
| bool | operator!= (TSMatrix< T > &ts) |
| bool | operator== (TMatrix< T > &tm) |
| bool | operator!= (TMatrix< T > &tm) |
| double | fabssqr () |
| double | fabs () |
| unsigned long | size () const |
Public Member Functions inherited from Matrix_Sig< T > | |
| Matrix_Sig () | |
| ~Matrix_Sig () | |
| tbci_traits< T >::const_refval_type | operator() (const unsigned, const unsigned) const |
| ro access More... | |
| T & | operator() (const unsigned, const unsigned) |
| rw access More... | |
| Matrix_Sig< T > & | fill (const T &) |
| Matrix_Sig< T > & | setunit (const T &=(T) 1) |
| Matrix_Sig< T > & | clear () |
| TVector< T > | operator* (const Vector_Sig< T > &) const |
| TVector< T > | transMult (const Vector_Sig< T > &) const |
| unsigned int | rows () const |
| unsigned int | columns () const |
Static Public Member Functions | |
| static const char * | mat_info () |
Static Public Member Functions inherited from Matrix_Sig< T > | |
| static const char * | mat_info () |
Protected Member Functions | |
| T fac | ALIGN (MIN_ALIGN2) |
| void | real_destroy () |
| void | clone (bool=false, TMatrix< T > *=0) |
Protected Attributes | |
| T * | vec |
| unsigned long | dim |
| unsigned int | row |
| unsigned int | col |
| T ** | mat |
| T * | endvec |
| bool | mut |
Friends | |
| class | TMatrix< T > |
| class | Matrix< T > |
| NOINST TSMatrix< T > FRIEND_TBCI__ | operator*FGD (const T &, TSMatrix< T >) |
| NOINST TMatrix< T > FRIEND_TBCI__ | operator+FGD (const T &, const TSMatrix< T > &) |
| NOINST TMatrix< T > FRIEND_TBCI__ | operator-FGD (const T &, const TSMatrix< T > &) |
Temporary object for scaled Matrices
| typedef T TSMatrix< T >::element_type |
| typedef T aligned_value_type TSMatrix< T >::TALIGN(MIN_ALIGN2) |
|
protected |
|
protected |
Definition at line 1260 of file matrix.h.
References detach(), fac, LIKELY, TMatrix< T >::mat, STD_SMP_TEMPLATE3VC, T, TBCICOPY, TBCIDELETE, and TMatrix< T >::vec.
Definition at line 1239 of file matrix.h.
References TMatrix< T >::dim, TMatrix< T >::endvec, LIKELY, TMatrix< T >::mat, NEW, REGISTER, TMatrix< T >::row, T, TBCIDELETE, and TMatrix< T >::vec.
Referenced by ediv(), TSMatrix< T >::operator+(), operator+(), Matrix< T >::operator+(), TSMatrix< T >::operator-(), operator-(), and Matrix< T >::operator-().
Definition at line 1280 of file matrix.h.
References fac, STD_SMP_TEMPLATE2C, and T.
Referenced by TMatrix< T >::operator=(), and TMatrix< T >::TMatrix().
Definition at line 1225 of file matrix.h.
References TSMatrix< T >::fabssqr(), GLBL__, MATH__, and std::sqrt().
Definition at line 1530 of file matrix.h.
References do_exactsum(), fabssqr(), fac, GLBL2__, TMatrix< T >::real_destroy(), res, and TBCI__.
Referenced by TSMatrix< T >::fabs(), and fabssqr().
Definition at line 1148 of file matrix.h.
References TSMatrix< T >::endvec.
Definition at line 1147 of file matrix.h.
References TSMatrix< T >::vec.
Definition at line 1400 of file matrix.h.
References ALIGN, BCHK, c, TMatrix< T >::col, fac, i, TMatrix< T >::mat, MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, and T.
Definition at line 1418 of file matrix.h.
References ALIGN, BCHK, c, TMatrix< T >::col, fac, TMatrix< T >::get(), i, TMatrix< T >::mark_destroy(), TMatrix< T >::mat, MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, and T.
Definition at line 1436 of file matrix.h.
References ALIGN3, BCHK, c, TMatrix< T >::col, fac, MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TVector< T >::set(), TVector< T >::size(), and T.
Definition at line 1451 of file matrix.h.
References ALIGN3, BCHK, c, TMatrix< T >::col, BVector< T >::destroy(), fac, TVector< T >::get(), MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TVector< T >::set(), TVector< T >::size(), and T.
Definition at line 1295 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::detach(), fac, TMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE4V, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1312 of file matrix.h.
References BCHK, TMatrix< T >::col, fac, TMatrix< T >::real_destroy(), TMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE3VC, and TMatrix< T >::vec.
Definition at line 1327 of file matrix.h.
References BCHK, TSMatrix< T >::col, TSMatrix< T >::detach(), fac, LIKELY, TSMatrix< T >::mut, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TSMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE5, T, ts, and TSMatrix< T >::vec.
Definition at line 1365 of file matrix.h.
References TSMatrix< T >::detach(), fac, STD_SMP_TEMPLATE4C, T, ts, and TSMatrix< T >::vec.
Definition at line 1303 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::detach(), fac, TMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE4V, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1319 of file matrix.h.
References BCHK, TMatrix< T >::col, fac, TMatrix< T >::real_destroy(), TMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE3VC, and TMatrix< T >::vec.
Definition at line 1346 of file matrix.h.
References BCHK, TSMatrix< T >::col, TSMatrix< T >::detach(), fac, LIKELY, TSMatrix< T >::mut, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TSMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE5, T, ts, and TSMatrix< T >::vec.
Definition at line 1373 of file matrix.h.
References TSMatrix< T >::detach(), fac, STD_SMP_TEMPLATE4C, T, ts, and TSMatrix< T >::vec.
Definition at line 1176 of file matrix.h.
References TSMatrix< T >::col, TSMatrix< T >::dim, TSMatrix< T >::endvec, fac, TSMatrix< T >::mat, TSMatrix< T >::mut, TSMatrix< T >::real_destroy(), TSMatrix< T >::row, and TSMatrix< T >::vec.
Definition at line 1180 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, fac, TMatrix< T >::mat, TSMatrix< T >::real_destroy(), TMatrix< T >::row, T, and TMatrix< T >::vec.
Definition at line 1467 of file matrix.h.
References TMatrix< T >::col, fac, LIKELY, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, T, TBCICOMP, UNLIKELY, and TMatrix< T >::vec.
Definition at line 1493 of file matrix.h.
References TSMatrix< T >::col, fac, LIKELY, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), REGISTER, TSMatrix< T >::row, T, TBCICOMP, UNLIKELY, and TSMatrix< T >::vec.
Definition at line 1231 of file matrix.h.
References LIKELY, T, and TBCIDELETE.
Referenced by TSMatrix< T >::operator()(), Matrix< T >::operator*(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), Matrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), Matrix< T >::operator-(), TMatrix< T >::operator-=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), and Matrix< T >::operator==().
Definition at line 1227 of file matrix.h.
References TSMatrix< T >::dim.
Referenced by bvfillm(), Matrix< T >::operator+(), and Matrix< T >::operator-().
|
friend |
|
friend |
|
friend |
Definition at line 1123 of file matrix.h.
Referenced by Matrix< T >::div_row(), Matrix< T >::div_rows(), Matrix< T >::mult_row(), Matrix< T >::mult_rows(), Matrix< T >::operator*(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), TMatrix< T >::operator-=(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), and TMatrix< T >::swap().
Definition at line 1122 of file matrix.h.
Referenced by Matrix< T >::operator+(), Matrix< T >::operator-(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), and TSMatrix< T >::size().
Definition at line 1125 of file matrix.h.
Referenced by TSMatrix< T >::getendvec(), TSMatrix< T >::operator=(), and TMatrix< T >::TMatrix().
Definition at line 1124 of file matrix.h.
Referenced by Matrix< T >::operator*(), TSMatrix< T >::operator=(), and TMatrix< T >::TMatrix().
Definition at line 1127 of file matrix.h.
Referenced by TSMatrix< T >::operator+(), TSMatrix< T >::operator-(), TSMatrix< T >::operator=(), and TMatrix< T >::TMatrix().
Definition at line 1123 of file matrix.h.
Referenced by Matrix< T >::div_rows(), Matrix< T >::mult_rows(), Matrix< T >::operator*(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), TMatrix< T >::operator-=(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), and Matrix< T >::transMult().
Definition at line 1121 of file matrix.h.
Referenced by TSMatrix< T >::getvec(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), Matrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), Matrix< T >::operator-(), TMatrix< T >::operator-=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), and TMatrix< T >::TMatrix().
1.8.8