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


Public Types | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN (MIN_ALIGN2) |
Public Member Functions | |
| T * | getvec () const |
| T * | getendvec () const |
| TMatrix (const unsigned=0) | |
| c'tor for square Matrix More... | |
| TMatrix (const unsigned, const unsigned) | |
| c'tor for Matrix, specifying rows and columns More... | |
| TMatrix (const T &, const unsigned, const unsigned) | |
| c'tor for Matrix, specifying and initialization value and rows and columns More... | |
| TMatrix (const Vector< T > &, const enum rowcolvec=colvec) | |
| c'tor to construct 1-column (or 1-row) Matrix from Vector More... | |
| TMatrix (const TMatrix< T > &) HOT | |
| aliasing copies (TBCI) More... | |
| TMatrix (TSMatrix< T >) | |
| TMatrix (const Matrix< T > &) HOT | |
| full copying More... | |
| void | real_destroy () |
| real destructor More... | |
| void | mark_destroy () const |
| mark destructible More... | |
| ~TMatrix () | |
| template<typename U > | |
| TMatrix (const Matrix< U > &m) | |
| template<typename U > | |
| TMatrix (const TMatrix< U > &tm) | |
| TMatrix< T > & | operator= (const Matrix< T > &) HOT |
| assignment, non-resizing More... | |
| TMatrix< T > & | operator= (const TMatrix< T > &) HOT |
| TMatrix< T > & | operator= (TSMatrix< T >) |
| TMatrix< T > & | operator= (const T &) |
| TMatrix< T > & | alias (const TMatrix< T > &m) |
| TMatrix< T > & | operator+= (TMatrix< T >) |
| arithmetics ... More... | |
| TMatrix< T > & | operator+= (const Matrix< T > &) |
| TMatrix< T > & | operator+= (const T &) |
| TMatrix< T > & | operator+= (TSMatrix< T >) |
| TMatrix< T > & | operator-= (TMatrix< T >) |
| TMatrix< T > & | operator-= (const Matrix< T > &) |
| TMatrix< T > & | operator-= (const T &) |
| TMatrix< T > & | operator-= (TSMatrix< T >) |
| TSMatrix< T > | operator*= (const T &) |
| TSMatrix< T > | operator/= (const T &) |
| TMatrix< T > & | operator- () |
| TMatrix< T > & | operator+ (TMatrix< T >) |
| TMatrix< T > & | operator+ (TSMatrix< T >) |
| TMatrix< T > & | operator+ (const Matrix< T > &) |
| TMatrix< T > & | operator+ (const T &) |
| TMatrix< T > & | operator- (TMatrix< T >) |
| TMatrix< T > & | operator- (TSMatrix< T >) |
| TMatrix< T > & | operator- (const Matrix< T > &) |
| TMatrix< T > & | operator- (const T &) |
| TSMatrix< T > | operator* (const T &) |
| TSMatrix< T > | operator/ (const T &) |
| TMatrix< T > | operator* (const Matrix< T > &) |
| TMatrix< T > | operator* (TMatrix< T >) |
| TMatrix< T > | operator* (TSMatrix< T >) |
| TVector< T > | operator* (const Vector< T > &v) |
| TVector< T > | operator* (TVector< T > &tv) |
| TVector< T > | operator* (const TSVector< T > &tsv) |
| TMatrix< T > & | swap (TMatrix< T > &) |
| TMatrix< T > | transposed_copy () const |
| Inefficient! Use transMult if possible. More... | |
| TMatrix< T > & | transpose () |
| T | operator() (const unsigned int, const unsigned int) const HOT |
| Element access (desctructive for TMatrix!) More... | |
| Mat_Brack< T > | operator[] (const unsigned int i) const |
| T & | setval (const T &val, const unsigned int r, const unsigned int c) |
| T & | setval (const unsigned r, const unsigned c) |
| tbci_traits< T >::const_refval_type | get (const unsigned r, const unsigned c) const |
| get, set and getcref are used internally and not for public consumption More... | |
| T & | set (const T &val, const unsigned r, const unsigned c) |
| const T & | getcref (const unsigned r, const unsigned c) const |
| const T * | getrowptr (const unsigned r) const |
| Helpers for matvecmul. More... | |
| T * | getrowptr (const unsigned r) |
| bool | operator== (const Matrix< T > &m) |
| Comparison. More... | |
| bool | operator!= (const Matrix< T > &m) |
| bool | operator== (TMatrix< T > tm) |
| bool | operator!= (TMatrix< T > tm) |
| bool | operator== (TSMatrix< T >) |
| bool | operator!= (TSMatrix< T > ts) |
| unsigned int | columns () const |
| number of columns More... | |
| unsigned int | rows () const |
| number of rows More... | |
| unsigned long | size () const |
| number of elements More... | |
| TVector< T > | operator() (const unsigned int) const |
| Row vector. More... | |
| TVector< T > | get_row (const unsigned int) const |
| Row vector. More... | |
| TVector< T > | get_col (const unsigned int) const |
| Column vector. More... | |
| void | set_row (const Vector< T > &, const unsigned int) |
| Fill complete row. More... | |
| void | set_col (const Vector< T > &, const unsigned int) |
| Fill complete column. More... | |
| void | set_row_partial (const Vector< T > &, const unsigned int, const unsigned int) |
| Fill partial row. More... | |
| void | set_col_partial (const Vector< T > &, const unsigned int, const unsigned int) |
| Fill partial column. More... | |
| TMatrix< T > & | resize (const unsigned int, const unsigned int) |
| Resize Matrix, specifying rows and columns. More... | |
| TMatrix< T > & | resize (const unsigned int d) |
| Resize Matrix to square shape. More... | |
| TMatrix< T > & | resize (const T &, const unsigned int, const unsigned int) |
| Resize Matrix and fill with value. More... | |
| TMatrix< T > & | resize (const TMatrix< T > &) |
| Resizing assignment. More... | |
| TMatrix< T > & | cheapdownsizerow (const unsigned) |
| Resize number of rows without actually freeing memory (efficiency) More... | |
| TMatrix< T > & | fill (const T &=(T) 0) |
| Fill matrix. More... | |
| TMatrix< T > & | clear () |
| Clear matrix (fill with 0) More... | |
| TMatrix< T > & | fill (const Vector< T > &) |
| Fill complete matrix by vector elements (m00, m01, ... m0C, m10, ...) More... | |
| TMatrix< T > & | setunit (const T &=(T) 1) |
| Set to unit matrix (optionally scaled) More... | |
| TMatrix< T > & | row_expand (const unsigned int r) |
| Set new numbers of rows to matrix (expansion only) More... | |
| TMatrix< T > & | row_expand (const TMatrix< T > &m) |
| Append matrix below existing one. More... | |
| T | trace () const |
| Trace. More... | |
| double | fabssqr () const |
| Sum over all squared elements. More... | |
| double | fabs () 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 Types | |
| typedef T | mat_t |
| typedef T * | Tptr |
Protected Member Functions | |
| int | set_ptrs () |
Protected Attributes | |
| unsigned long | dim |
| unsigned int | row |
| unsigned int | col:31 |
| unsigned int | freeable:1 |
| T ** | mat |
| C storage layout: mat[row][col]. More... | |
| T * | vec |
| T * | endvec |
Temporary Base Class (non referable!) for Matrices (acc. to Temp. Base Class Idiom, iX 11/96, 166)
| typedef T aligned_value_type TMatrix< T >::TALIGN(MIN_ALIGN2) |
c'tor for square Matrix
Definition at line 445 of file matrix.h.
References TMatrix< T >::set_ptrs().
c'tor for Matrix, specifying rows and columns
Definition at line 454 of file matrix.h.
References TMatrix< T >::set_ptrs().
|
inline |
c'tor for Matrix, specifying and initialization value and rows and columns
Definition at line 462 of file matrix.h.
References TMatrix< T >::dim, LIKELY, TMatrix< T >::set_ptrs(), T, TBCIFILL, and TMatrix< T >::vec.
|
inlineexplicit |
c'tor to construct 1-column (or 1-row) Matrix from Vector
Definition at line 472 of file matrix.h.
References TMatrix< T >::dim, LIKELY, TMatrix< T >::set_ptrs(), T, TBCICOPY, BVector< T >::vec, and TMatrix< T >::vec.
aliasing copies (TBCI)
Definition at line 496 of file matrix.h.
References TMatrix< T >::alias(), BCHKNR, and TMatrix< T >::freeable.
Definition at line 514 of file matrix.h.
References TMatrix< T >::endvec, TSMatrix< T >::endvec, TSMatrix< T >::eval(), TMatrix< T >::mat, TSMatrix< T >::mat, TSMatrix< T >::mut, TMatrix< T >::vec, and TSMatrix< T >::vec.
full copying
Definition at line 484 of file matrix.h.
References TMatrix< T >::dim, LIKELY, TMatrix< T >::set_ptrs(), T, TBCICOPY, and TMatrix< T >::vec.
Definition at line 184 of file matrix.h.
References TMatrix< T >::freeable, and TMatrix< T >::real_destroy().
|
inlineexplicit |
Definition at line 193 of file matrix.h.
References TMatrix< T >::endvec, TMatrix< T >::set_ptrs(), T, U, and TMatrix< T >::vec.
|
inlineexplicit |
Definition at line 200 of file matrix.h.
References TMatrix< T >::endvec, TMatrix< T >::set_ptrs(), T, U, and TMatrix< T >::vec.
Definition at line 504 of file matrix.h.
References BCHKNR, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, TMatrix< T >::freeable, TMatrix< T >::mat, TMatrix< T >::real_destroy(), TMatrix< T >::row, and TMatrix< T >::vec.
Referenced by TMatrix< T >::operator=(), and TMatrix< T >::TMatrix().
Resize number of rows without actually freeing memory (efficiency)
Definition at line 792 of file matrix.h.
References BCHK, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, LIKELY, TMatrix< T >::resize(), TMatrix< T >::row, UNLIKELY, and TMatrix< T >::vec.
Clear matrix (fill with 0)
Definition at line 580 of file matrix.h.
References TMatrix< T >::dim, T, TBCICLEAR, UNLIKELY, and TMatrix< T >::vec.
Referenced by Matrix< T >::clear(), and Matrix< T >::operator*().
number of columns
Definition at line 315 of file matrix.h.
References TMatrix< T >::col.
Referenced by BdMatrix< T >::BdMatrix(), cediv(), cemul(), CSCMatrix< T >::CSCMatrix(), do_fill_mat(), ediv(), emul(), F_BandMatrix< T >::F_BandMatrix(), hpsort(), lu_decomp(), LU_det(), LU_invert(), LU_solve(), and norm_1().
Definition at line 389 of file matrix.h.
References TMatrix< T >::fabssqr(), GLBL__, MATH__, and std::sqrt().
Sum over all squared elements.
Definition at line 1050 of file matrix.h.
References Matrix< T >::fabssqr().
Referenced by TMatrix< T >::fabs(), and fabssqr().
Fill matrix.
Definition at line 805 of file matrix.h.
References TMatrix< T >::dim, T, TBCIFILL, and TMatrix< T >::vec.
Referenced by Matrix< T >::fill(), and TMatrix< T >::operator=().
Fill complete matrix by vector elements (m00, m01, ... m0C, m10, ...)
Definition at line 822 of file matrix.h.
References BCHK, BVector< T >::dim, TMatrix< T >::dim, TMatrix< T >::size(), T, TBCICOPY, BVector< T >::vec, and TMatrix< T >::vec.
|
inline |
get, set and getcref are used internally and not for public consumption
Definition at line 288 of file matrix.h.
References c, and TMatrix< T >::mat.
Referenced by if(), LU_bkw_subst(), lu_decomp(), LU_det(), LU_fwd_subst(), norm_1(), TSMatrix< T >::operator*(), and operator<<().
Column vector.
Definition at line 627 of file matrix.h.
References BCHK, TMatrix< T >::col, index, TMatrix< T >::mark_destroy(), TMatrix< T >::mat, REGISTER, TMatrix< T >::row, v, and BVector< T >::vec.
Referenced by LU_solve().
Row vector.
Definition at line 640 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::mark_destroy(), TMatrix< T >::mat, T, TBCICOPY, v, and BVector< T >::vec.
Referenced by TMatrix< T >::operator()().
|
inline |
Definition at line 292 of file matrix.h.
References c, and TMatrix< T >::mat.
Referenced by lu_decomp().
Definition at line 127 of file matrix.h.
References TMatrix< T >::endvec.
Helpers for matvecmul.
Definition at line 296 of file matrix.h.
References TMatrix< T >::mat.
Referenced by if().
Definition at line 297 of file matrix.h.
References TMatrix< T >::mat.
Definition at line 126 of file matrix.h.
References TMatrix< T >::vec.
mark destructible
Definition at line 402 of file matrix.h.
References TMatrix< T >::freeable.
Referenced by TMatrix< T >::get_col(), TMatrix< T >::get_row(), norm_1(), TMatrix< T >::operator()(), and TSMatrix< T >::operator*().
|
inline |
Element access (desctructive for TMatrix!)
Definition at line 523 of file matrix.h.
References c, TMatrix< T >::col, EXPCHK, index, TMatrix< T >::mark_destroy(), TMatrix< T >::mat, and TMatrix< T >::row.
Definition at line 974 of file matrix.h.
References TMatrix< T >::operator+=().
Definition at line 924 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::fac(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE3VC, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 967 of file matrix.h.
References TMatrix< T >::operator+=().
Definition at line 981 of file matrix.h.
References TMatrix< T >::operator+=().
arithmetics ...
Definition at line 917 of file matrix.h.
Referenced by TMatrix< T >::operator+(), and Matrix< T >::operator+=().
Definition at line 882 of file matrix.h.
References BCHK, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE2V, and TMatrix< T >::vec.
Definition at line 942 of file matrix.h.
References TMatrix< T >::dim, STD_SMP_TEMPLATE2C, and TMatrix< T >::vec.
Definition at line 899 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::fac(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE3VC, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 833 of file matrix.h.
References TMatrix< T >::dim, and TMatrix< T >::vec.
Definition at line 977 of file matrix.h.
References TMatrix< T >::operator-=().
Definition at line 932 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::fac(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE3VC, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 970 of file matrix.h.
References TMatrix< T >::operator-=().
Definition at line 984 of file matrix.h.
References TMatrix< T >::operator-=().
Definition at line 920 of file matrix.h.
Referenced by TMatrix< T >::operator-(), and Matrix< T >::operator-=().
Definition at line 890 of file matrix.h.
References BCHK, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE2V, and TMatrix< T >::vec.
Definition at line 948 of file matrix.h.
References TMatrix< T >::dim, STD_SMP_TEMPLATE2C, and TMatrix< T >::vec.
Definition at line 907 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::fac(), TSMatrix< T >::real_destroy(), TMatrix< T >::row, TSMatrix< T >::row, TMatrix< T >::rows(), STD_SMP_TEMPLATE3VC, TMatrix< T >::vec, and TSMatrix< T >::vec.
assignment, non-resizing
Definition at line 533 of file matrix.h.
References BCHK, TMatrix< T >::dim, T, TBCICOPY, and TMatrix< T >::vec.
Referenced by Matrix< T >::operator=().
Definition at line 542 of file matrix.h.
References TMatrix< T >::alias(), BCHK, TMatrix< T >::col, TMatrix< T >::dim, and TMatrix< T >::row.
Definition at line 551 of file matrix.h.
References BCHK, TMatrix< T >::col, TSMatrix< T >::col, TSMatrix< T >::dim, TSMatrix< T >::eval(), TMatrix< T >::row, and TSMatrix< T >::row.
Definition at line 560 of file matrix.h.
References TMatrix< T >::fill().
Comparison.
Definition at line 840 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, LIKELY, TMatrix< T >::row, T, TBCICOMP, and TMatrix< T >::vec.
Definition at line 854 of file matrix.h.
References TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, TSMatrix< T >::fac(), LIKELY, TSMatrix< T >::real_destroy(), REGISTER, TMatrix< T >::row, TSMatrix< T >::row, T, TBCICOMP, UNLIKELY, TMatrix< T >::vec, and TSMatrix< T >::vec.
Definition at line 2355 of file matrix.h.
References EXPCHK, and TMatrix< T >::row.
real destructor
Definition at line 394 of file matrix.h.
References TMatrix< T >::dim, TMatrix< T >::mat, TMatrix< T >::row, T, TBCIDELETE, UNLIKELY, and TMatrix< T >::vec.
Referenced by TMatrix< T >::alias(), TSMatrix< T >::fabssqr(), TSMatrix< T >::operator*(), TSMatrix< T >::operator+(), TSMatrix< T >::operator-(), TSMatrix< T >::operator==(), and TMatrix< T >::~TMatrix().
| TMatrix< T > & TMatrix< T >::resize | ( | const unsigned int | r, |
| const unsigned int | c | ||
| ) |
Resize Matrix, specifying rows and columns.
Definition at line 655 of file matrix.h.
References c, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, LIKELY, TMatrix< T >::mat, MIN, NEW, TMatrix< T >::row, TMatrix< T >::set_ptrs(), T, TBCICOPY, TBCIDELETE, UNLIKELY, and TMatrix< T >::vec.
Referenced by TMatrix< T >::cheapdownsizerow(), and Matrix< T >::resize().
Resize Matrix to square shape.
Definition at line 364 of file matrix.h.
References TMatrix< T >::resize().
Referenced by TMatrix< T >::resize().
| TMatrix< T > & TMatrix< T >::resize | ( | const T & | v, |
| const unsigned int | r, | ||
| const unsigned int | c | ||
| ) |
Resize Matrix and fill with value.
Definition at line 745 of file matrix.h.
References c, TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, LIKELY, TMatrix< T >::mat, NEW, TMatrix< T >::row, TMatrix< T >::set_ptrs(), T, TBCIDELETE, TBCIFILL, UNLIKELY, and TMatrix< T >::vec.
Resizing assignment.
Definition at line 768 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, LIKELY, TMatrix< T >::mat, NEW, TMatrix< T >::row, TMatrix< T >::set_ptrs(), T, TBCICOPY, TBCIDELETE, UNLIKELY, and TMatrix< T >::vec.
Set new numbers of rows to matrix (expansion only)
Definition at line 678 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, i, LIKELY, TMatrix< T >::mat, NEW, REALLOC, REGISTER, TMatrix< T >::row, T, TBCIDELETE, UNLIKELY, and TMatrix< T >::vec.
Append matrix below existing one.
FIXME: Correct?
Definition at line 707 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, i, LIKELY, TMatrix< T >::mat, NEW, REALLOC, REGISTER, TMatrix< T >::row, T, TBCIDELETE, UNLIKELY, and TMatrix< T >::vec.
number of rows
Definition at line 317 of file matrix.h.
References TMatrix< T >::row.
Referenced by BdMatrix< T >::BdMatrix(), cediv(), cemul(), CSCMatrix< T >::CSCMatrix(), ediv(), emul(), expm(), F_BandMatrix< T >::F_BandMatrix(), hpsort(), LU_bkw_subst(), lu_decomp(), LU_det(), LU_fwd_subst(), LU_invert(), LU_solve(), norm_1(), TMatrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TMatrix< T >::operator-=(), and par_fill().
|
inline |
Fill complete column.
Definition at line 606 of file matrix.h.
References BCHKNR, TMatrix< T >::col, BVector< T >::dim, index, TMatrix< T >::mat, REGISTER, TMatrix< T >::row, TMatrix< T >::size(), and BVector< T >::vec.
Referenced by TMatrix< T >::set_col_partial().
|
inline |
Fill partial column.
Definition at line 616 of file matrix.h.
References BCHKNR, TMatrix< T >::col, BVector< T >::dim, index, large, TMatrix< T >::mat, REGISTER, TMatrix< T >::row, TMatrix< T >::set_col(), and BVector< T >::vec.
Definition at line 409 of file matrix.h.
References TMatrix< T >::col, TMatrix< T >::dim, TMatrix< T >::endvec, i, LIKELY, MAT, TMatrix< T >::mat, REGISTER, RESTRICT, TMatrix< T >::row, T, TBCIDELETE, UNLIKELY, VEC, and TMatrix< T >::vec.
Referenced by TMatrix< T >::resize(), and TMatrix< T >::TMatrix().
|
inline |
Fill complete row.
Definition at line 589 of file matrix.h.
References BCHKNR, TMatrix< T >::col, BVector< T >::dim, index, TMatrix< T >::mat, TMatrix< T >::row, TMatrix< T >::size(), T, TBCICOPY, and BVector< T >::vec.
Referenced by operator>>().
|
inline |
Fill partial row.
Definition at line 597 of file matrix.h.
References BCHKNR, TMatrix< T >::col, BVector< T >::dim, index, large, TMatrix< T >::mat, TMatrix< T >::row, T, TBCICOPY, and BVector< T >::vec.
Set to unit matrix (optionally scaled)
Definition at line 567 of file matrix.h.
References BCHK, TMatrix< T >::col, TMatrix< T >::dim, LIKELY, TMatrix< T >::mat, MIN, REGISTER, TMatrix< T >::row, T, TBCICLEAR, and TMatrix< T >::vec.
Referenced by Matrix< T >::setunit().
|
inline |
Definition at line 281 of file matrix.h.
References c, and TMatrix< T >::mat.
Referenced by if(), lu_decomp(), F_TMatrix< T >::operator TMatrix< T >(), BdMatrix< T >::operator TMatrix< T >(), F_TSMatrix< T >::operator TMatrix< T >(), and F_Matrix< T >::operator TMatrix< T >().
Definition at line 283 of file matrix.h.
References c, and TMatrix< T >::mat.
number of elements
Definition at line 319 of file matrix.h.
References TMatrix< T >::dim.
Referenced by TMatrix< T >::fill(), TSMatrix< T >::operator+(), TSMatrix< T >::operator-(), TMatrix< T >::set_col(), and TMatrix< T >::set_row().
Definition at line 1759 of file matrix.h.
References TMatrix< T >::col, TSMatrix< T >::col, TMatrix< T >::dim, TSMatrix< T >::dim, TMatrix< T >::endvec, TSMatrix< T >::endvec, TMatrix< T >::mat, TSMatrix< T >::mat, TMatrix< T >::row, TSMatrix< T >::row, TBCI::SWAP(), TMatrix< T >::vec, and TSMatrix< T >::vec.
Referenced by TMatrix< T >::transpose().
Trace.
Definition at line 812 of file matrix.h.
References ALIGN3, BCHK, TMatrix< T >::col, TMatrix< T >::mat, MIN_ALIGN2, REGISTER, TMatrix< T >::row, T, and TMatrix< T >::vec.
Definition at line 1079 of file matrix.h.
References c, TMatrix< T >::col, TMatrix< T >::mat, TMatrix< T >::row, TMatrix< T >::swap(), TBCI::SWAP(), and TMatrix< T >::transposed_copy().
Inefficient! Use transMult if possible.
Definition at line 1061 of file matrix.h.
References c, TMatrix< T >::col, TMatrix< T >::mat, and TMatrix< T >::row.
Referenced by TMatrix< T >::transpose(), and transpose().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 116 of file matrix.h.
Referenced by TMatrix< T >::alias(), TMatrix< T >::cheapdownsizerow(), TMatrix< T >::columns(), TSMatrix< T >::detach(), gaussj(), TMatrix< T >::get_col(), TMatrix< T >::get_row(), TMatrix< T >::operator()(), TSMatrix< T >::operator*(), 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==(), operator>>(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::set_col(), TMatrix< T >::set_col_partial(), TMatrix< T >::set_ptrs(), TMatrix< T >::set_row(), TMatrix< T >::set_row_partial(), TMatrix< T >::setunit(), TMatrix< T >::swap(), TMatrix< T >::trace(), TMatrix< T >::transpose(), and TMatrix< T >::transposed_copy().
Definition at line 115 of file matrix.h.
Referenced by TMatrix< T >::alias(), bvfillm(), TMatrix< T >::cheapdownsizerow(), TMatrix< T >::clear(), TSMatrix< T >::clone(), TSMatrix< T >::detach(), TSMatrix< T >::eval(), TSMatrix< T >::fabssqr(), TMatrix< T >::fill(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), Matrix< T >::operator+(), TMatrix< T >::operator+=(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), Matrix< T >::operator-(), TMatrix< T >::operator-=(), operator<<(), TMatrix< T >::operator=(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::set_ptrs(), TMatrix< T >::setunit(), TMatrix< T >::size(), TMatrix< T >::swap(), TMatrix< T >::TMatrix(), TVector< T >::TVector(), and Vector< T >::Vector().
Definition at line 119 of file matrix.h.
Referenced by TMatrix< T >::alias(), TMatrix< T >::cheapdownsizerow(), TSMatrix< T >::detach(), TMatrix< T >::getendvec(), TSMatrix< T >::operator=(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::set_ptrs(), TMatrix< T >::swap(), and TMatrix< T >::TMatrix().
Definition at line 117 of file matrix.h.
Referenced by TMatrix< T >::alias(), TMatrix< T >::mark_destroy(), TMatrix< T >::TMatrix(), Matrix< T >::~Matrix(), and TMatrix< T >::~TMatrix().
C storage layout: mat[row][col].
Definition at line 119 of file matrix.h.
Referenced by TMatrix< T >::alias(), TSMatrix< T >::clone(), TSMatrix< T >::detach(), TMatrix< T >::get(), TMatrix< T >::get_col(), TMatrix< T >::get_row(), TMatrix< T >::getcref(), TMatrix< T >::getrowptr(), TMatrix< T >::operator()(), TSMatrix< T >::operator*(), Matrix< T >::operator*(), TSMatrix< T >::operator=(), par_fill(), TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::set(), TMatrix< T >::set_col(), TMatrix< T >::set_col_partial(), TMatrix< T >::set_ptrs(), TMatrix< T >::set_row(), TMatrix< T >::set_row_partial(), TMatrix< T >::setunit(), TMatrix< T >::setval(), TMatrix< T >::swap(), TMatrix< T >::TMatrix(), TMatrix< T >::trace(), TMatrix< T >::transpose(), and TMatrix< T >::transposed_copy().
Definition at line 116 of file matrix.h.
Referenced by TMatrix< T >::alias(), TMatrix< T >::cheapdownsizerow(), TSMatrix< T >::clone(), TSMatrix< T >::detach(), gaussj(), TMatrix< T >::get_col(), TMatrix< T >::operator()(), TSMatrix< T >::operator*(), 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==(), operator>>(), TMatrix< T >::operator[](), TMatrix< T >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::rows(), TMatrix< T >::set_col(), TMatrix< T >::set_col_partial(), TMatrix< T >::set_ptrs(), TMatrix< T >::set_row(), TMatrix< T >::set_row_partial(), TMatrix< T >::setunit(), TMatrix< T >::swap(), TMatrix< T >::trace(), TMatrix< T >::transpose(), and TMatrix< T >::transposed_copy().
Definition at line 119 of file matrix.h.
Referenced by TMatrix< T >::alias(), bvfillm(), TMatrix< T >::cheapdownsizerow(), TMatrix< T >::clear(), TSMatrix< T >::clone(), TSMatrix< T >::detach(), TSMatrix< T >::eval(), TSMatrix< T >::fabssqr(), TMatrix< T >::fill(), TMatrix< T >::getvec(), 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 >::real_destroy(), TSMatrix< T >::real_destroy(), TMatrix< T >::resize(), TMatrix< T >::row_expand(), TMatrix< T >::set_ptrs(), TMatrix< T >::setunit(), TMatrix< T >::swap(), TMatrix< T >::TMatrix(), TMatrix< T >::trace(), TVector< T >::TVector(), and Vector< T >::Vector().
1.8.5