|
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 () | |
| dim (tm.dim) | |
| row (tm.row) | |
| col (tm.col) | |
| mat (tm.mat) | |
| endvec (tm.endvec) | |
| fac (f) | |
| mut (true) | |
| dim (m.dim) | |
| row (m.row) | |
| col (m.col) | |
| mat (m.mat) | |
| endvec (m.endvec) | |
| fac (f) | |
| mut (false) | |
| 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 () |
Public Attributes | |
| __pad0__: vec(tm.vec) | |
| __pad1__: vec(m.vec) | |
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(), TMatrix< T >::dim, fac, LIKELY, TMatrix< T >::mat, TMatrix< T >::row, STD_SMP_TEMPLATE3VC, T, TBCICOPY, TBCIDELETE, and TMatrix< T >::vec.
Definition at line 1239 of file matrix.h.
References TMatrix< T >::col, 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 TMatrix< T >::dim, fac, STD_SMP_TEMPLATE2C, T, and TMatrix< T >::vec.
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 TMatrix< T >::dim, do_exactsum(), TBCI::fabssqr(), fac, GLBL2__, TMatrix< T >::real_destroy(), res, TBCI__, and TMatrix< T >::vec.
Referenced by TSMatrix< T >::fabs(), and fabssqr().
Referenced by TSMatrix< T >::getfac(), TSMatrix< T >::operator()(), TSMatrix< T >::operator*(), Matrix< T >::operator*(), TSMatrix< 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/(), TSMatrix< T >::operator/=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), and Matrix< T >::operator==().
Definition at line 1148 of file matrix.h.
References TSMatrix< T >::endvec.
Definition at line 1149 of file matrix.h.
References TSMatrix< T >::fac().
Definition at line 1150 of file matrix.h.
References TSMatrix< T >::fac().
Definition at line 1147 of file matrix.h.
References TSMatrix< T >::vec.
|
inline |
Definition at line 1170 of file matrix.h.
References c, TSMatrix< T >::fac(), TSMatrix< T >::mat, TSMatrix< T >::real_destroy(), and T.
Definition at line 1187 of file matrix.h.
References TSMatrix< T >::fac().
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, TMatrix< T >::mat, MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TVector< T >::set(), TVector< T >::size(), T, and v.
Definition at line 1451 of file matrix.h.
References ALIGN3, BCHK, c, TMatrix< T >::col, BVector< T >::destroy(), fac, TVector< T >::get(), TMatrix< T >::mat, MIN_ALIGN2, TMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TVector< T >::set(), TVector< T >::size(), and T.
Definition at line 1185 of file matrix.h.
References TSMatrix< T >::fac().
Definition at line 1295 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::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, TMatrix< T >::dim, 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, TMatrix< T >::col, TSMatrix< T >::col, TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::fac(), LIKELY, TSMatrix< T >::mut, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE5, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1365 of file matrix.h.
References TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::fac(), STD_SMP_TEMPLATE4C, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1192 of file matrix.h.
References TSMatrix< T >::fac(), and T.
Definition at line 1303 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::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, TMatrix< T >::dim, 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, TMatrix< T >::col, TSMatrix< T >::col, TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::fac(), LIKELY, TSMatrix< T >::mut, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::size(), STD_SMP_TEMPLATE5, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1373 of file matrix.h.
References TSMatrix< T >::detach(), TMatrix< T >::dim, fac, TSMatrix< T >::fac(), STD_SMP_TEMPLATE4C, T, ts, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1188 of file matrix.h.
References TSMatrix< T >::fac().
Definition at line 1186 of file matrix.h.
References TSMatrix< T >::fac().
Definition at line 1176 of file matrix.h.
References TSMatrix< T >::col, TSMatrix< T >::dim, TSMatrix< T >::endvec, TSMatrix< T >::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, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::dim, TMatrix< T >::endvec, TSMatrix< T >::endvec, TSMatrix< T >::fac(), TMatrix< T >::mat, TSMatrix< T >::mat, TSMatrix< T >::mut, TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, T, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1467 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, 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 TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, fac, TSMatrix< T >::fac(), LIKELY, TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TSMatrix< T >::row, T, TBCICOMP, UNLIKELY, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 1231 of file matrix.h.
References TMatrix< T >::dim, LIKELY, TMatrix< T >::mat, TMatrix< T >::row, T, TBCIDELETE, and TMatrix< T >::vec.
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()(), 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-=(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), TMatrix< T >::swap(), and Matrix< T >::transMult().
Definition at line 1122 of file matrix.h.
Referenced by Matrix< T >::fabssqr(), Matrix< T >::operator*=(), Matrix< T >::operator+(), Matrix< T >::operator-(), Matrix< T >::operator/=(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), Matrix< T >::operator==(), TSMatrix< T >::size(), and TMatrix< T >::swap().
Definition at line 1125 of file matrix.h.
Referenced by TSMatrix< T >::getendvec(), TSMatrix< T >::operator=(), Matrix< T >::operator==(), TMatrix< T >::swap(), and TMatrix< T >::TMatrix().
Definition at line 1124 of file matrix.h.
Referenced by TSMatrix< T >::operator()(), Matrix< T >::operator()(), Matrix< T >::operator*(), TSMatrix< T >::operator=(), TMatrix< T >::swap(), 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_row(), Matrix< T >::div_rows(), Matrix< T >::mult_row(), Matrix< T >::mult_rows(), Matrix< 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-=(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), TMatrix< T >::swap(), and Matrix< T >::transMult().
Definition at line 1121 of file matrix.h.
Referenced by Matrix< T >::fabssqr(), TSMatrix< T >::getvec(), Matrix< 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-=(), Matrix< T >::operator/=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), Matrix< T >::operator==(), TMatrix< T >::swap(), and TMatrix< T >::TMatrix().
1.8.5