|
TBCI Numerical high perf. C++ Library
2.8.0
|
C++ class for banded matrices using band storage in a one-dimensional array. More...
#include <f_bandmatrix.h>


Public Types | |
| typedef T | value_type |
| typedef T | element_type |
| typedef T aligned_value_type | TALIGN (MIN_ALIGN2) |
Public Member Functions | |
| F_BandMatrix () | |
| F_BandMatrix (unsigned int dimension, unsigned int superDiags=0, unsigned int subDiags=0) | |
| F_BandMatrix (const F_BandMatrix< T > &m) | |
| F_BandMatrix (const Matrix< T > &m) | |
| ~F_BandMatrix () | |
| void | clear () |
| T | operator() (unsigned int row, unsigned int column) const |
| T & | operator() (unsigned int row, unsigned int column) |
| void | setval (const T z, unsigned int row, unsigned int column) |
| T & | setval (unsigned r, unsigned c) |
| TVector< T > | get_col (unsigned int column) const |
| void | set_col (const Vector< T > &v, unsigned int column) |
| void | set_col (const TVector< T > &tv, unsigned int column) |
| void | set_col (const TSVector< T > &tsv, unsigned int column) |
| unsigned int | rows () const |
| unsigned int | columns () const |
| unsigned int | size () const |
| unsigned int | numSuper () const |
| unsigned int | numSub () const |
| unsigned int | ldab () const |
| void | resize (unsigned int newDim, unsigned int newSuper, unsigned int newSub) |
| F_BandMatrix< T > & | operator= (const F_BandMatrix< T > &m) |
| TVector< T > | transMult (const Vector< T > &v) const |
| TVector< T > | transMult (const TVector< T > &tv) const |
| TVector< T > | transMult (const TSVector< T > &tsv) const |
| F_BandMatrix< T > & | operator*= (const T z) |
| F_BandMatrix< T > & | operator/= (const T z) |
| F_BandMatrix< T > | transposed_copy () const |
| F_BandMatrix< T > & | transpose () |
| transpose() does change the object! More... | |
| T *const & | get_fortran_matrix () const |
| F_BandMatrix< T > & | swap (F_BandMatrix< T > &m) |
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 |
Protected Member Functions | |
| void | allocate (unsigned int dimension, unsigned int superDiags, unsigned int subDiags) |
| void | destroy () |
| void | copy (const F_BandMatrix< T > &m) |
| void | find_super (const Matrix< T > &m) |
| Find number of super diagonals. More... | |
| void | find_sub (const Matrix< T > &m) |
| Find number of sub diagonals. More... | |
Protected Attributes | |
| unsigned int | dim |
| unsigned int | super |
| unsigned int | sub |
| T * | comp |
| T | dummy |
Friends | |
| bool | operator==FGD (const F_BandMatrix< T > &, const F_BandMatrix< T > &) |
| bool | operator!=FGD (const F_BandMatrix< T > &, const F_BandMatrix< T > &) |
| F_BandMatrix< T > | operator-FGD (const F_BandMatrix< T > &m) |
| TVector< T > do_fbdmat_vec_mul | FGD (const F_BandMatrix< T > &m, const Vector< T > &v) |
| F_BandMatrix< T > do_fbdmat_scale | FGD (const F_BandMatrix< T > &m, const T z) |
| F_BandMatrix< T > do_fbdmat_scale | FGD (const T z, const F_BandMatrix< T > &m) |
| F_BandMatrix< T > | operator/FGD (const F_BandMatrix< T > &m, T const z) |
| F_BandMatrix< T > | operator+FGD (const F_BandMatrix< T > &, const F_BandMatrix< T > &) |
| F_BandMatrix< T > | operator-FGD (const F_BandMatrix< T > &, const F_BandMatrix< T > &) |
| STD__ ostream & | operator<< FGD (STD__ ostream &stream, const F_BandMatrix< T > &m) |
Additional Inherited Members | |
Static Public Member Functions inherited from Matrix_Sig< T > | |
| static const char * | mat_info () |
C++ class for banded matrices using band storage in a one-dimensional array.
Definition at line 46 of file f_bandmatrix.h.
| typedef T F_BandMatrix< T >::element_type |
Definition at line 63 of file f_bandmatrix.h.
| typedef T aligned_value_type F_BandMatrix< T >::TALIGN(MIN_ALIGN2) |
Definition at line 64 of file f_bandmatrix.h.
| typedef T F_BandMatrix< T >::value_type |
Definition at line 62 of file f_bandmatrix.h.
|
inline |
Definition at line 66 of file f_bandmatrix.h.
References F_BandMatrix< T >::allocate().
|
inline |
Definition at line 68 of file f_bandmatrix.h.
References F_BandMatrix< T >::allocate().
|
inline |
Definition at line 73 of file f_bandmatrix.h.
References F_BandMatrix< T >::copy().
| F_BandMatrix< T >::F_BandMatrix | ( | const Matrix< T > & | m | ) |
Definition at line 462 of file f_bandmatrix.h.
References BCHKNR, c, TMatrix< T >::columns(), MAX, MIN, and TMatrix< T >::rows().
|
inline |
Definition at line 76 of file f_bandmatrix.h.
References F_BandMatrix< T >::destroy().
|
protected |
Definition at line 481 of file f_bandmatrix.h.
References BCHKNR, NULL, and T.
Referenced by F_BandMatrix< T >::F_BandMatrix().
| void F_BandMatrix< T >::clear | ( | ) |
|
inline |
Definition at line 95 of file f_bandmatrix.h.
References F_BandMatrix< T >::dim.
Referenced by eig(), lu_solve(), and lu_solve_expert().
|
protected |
Definition at line 508 of file f_bandmatrix.h.
References BCHKNR, F_BandMatrix< T >::comp, CSTD__, F_BandMatrix< T >::dim, NULL, F_BandMatrix< T >::sub, F_BandMatrix< T >::super, and T.
Referenced by F_BandMatrix< T >::F_BandMatrix().
|
inlineprotected |
Definition at line 499 of file f_bandmatrix.h.
References NULL.
Referenced by F_BandMatrix< T >::~F_BandMatrix().
|
inlineprotected |
|
inlineprotected |
| TVector< T > F_BandMatrix< T >::get_col | ( | unsigned int | column | ) | const |
Definition at line 212 of file f_bandmatrix.h.
References BCHK, i, index, and TVector< T >::set().
|
inline |
Definition at line 141 of file f_bandmatrix.h.
References F_BandMatrix< T >::comp.
Referenced by eig(), lu_solve(), and lu_solve_expert().
|
inline |
Definition at line 99 of file f_bandmatrix.h.
References F_BandMatrix< T >::sub, and F_BandMatrix< T >::super.
Referenced by lu_solve(), and lu_solve_expert().
|
inline |
Definition at line 98 of file f_bandmatrix.h.
References F_BandMatrix< T >::sub.
Referenced by eig(), lu_solve(), lu_solve_expert(), operator+(), and operator-().
|
inline |
Definition at line 97 of file f_bandmatrix.h.
References F_BandMatrix< T >::super.
Referenced by eig(), lu_solve(), lu_solve_expert(), operator+(), and operator-().
|
inline |
Definition at line 168 of file f_bandmatrix.h.
Referenced by F_BandMatrix< T >::setval().
|
inline |
Definition at line 182 of file f_bandmatrix.h.
| F_BandMatrix< T > & F_BandMatrix< T >::operator*= | ( | const T | z | ) |
Definition at line 413 of file f_bandmatrix.h.
| F_BandMatrix< T > & F_BandMatrix< T >::operator/= | ( | const T | z | ) |
Definition at line 433 of file f_bandmatrix.h.
| F_BandMatrix< T > & F_BandMatrix< T >::operator= | ( | const F_BandMatrix< T > & | m | ) |
Definition at line 253 of file f_bandmatrix.h.
References BCHK, F_BandMatrix< T >::comp, CSTD__, F_BandMatrix< T >::dim, F_BandMatrix< T >::sub, F_BandMatrix< T >::super, and T.
|
inline |
Definition at line 203 of file f_bandmatrix.h.
|
inline |
Definition at line 94 of file f_bandmatrix.h.
References F_BandMatrix< T >::dim.
| void F_BandMatrix< T >::set_col | ( | const Vector< T > & | v, |
| unsigned int | column | ||
| ) |
|
inline |
Definition at line 238 of file f_bandmatrix.h.
References v.
|
inline |
Definition at line 245 of file f_bandmatrix.h.
References v.
|
inline |
Definition at line 193 of file f_bandmatrix.h.
|
inline |
Definition at line 85 of file f_bandmatrix.h.
References F_BandMatrix< T >::operator()().
|
inline |
Definition at line 96 of file f_bandmatrix.h.
References F_BandMatrix< T >::dim.
Referenced by operator+(), and operator-().
| F_BandMatrix< T > & F_BandMatrix< T >::swap | ( | F_BandMatrix< T > & | m | ) |
Definition at line 634 of file f_bandmatrix.h.
References F_BandMatrix< T >::comp, F_BandMatrix< T >::dim, F_BandMatrix< T >::sub, F_BandMatrix< T >::super, and TBCI::SWAP().
Definition at line 345 of file f_bandmatrix.h.
References BCHK, i, MIN, res, right, TVector< T >::set(), TVector< T >::size(), sum(), T, and v.
|
inline |
Definition at line 364 of file f_bandmatrix.h.
References v.
|
inline |
Definition at line 372 of file f_bandmatrix.h.
References v.
|
inline |
transpose() does change the object!
Definition at line 619 of file f_bandmatrix.h.
| F_BandMatrix< T > F_BandMatrix< T >::transposed_copy | ( | ) | const |
Definition at line 608 of file f_bandmatrix.h.
Referenced by transpose().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
Definition at line 147 of file f_bandmatrix.h.
Referenced by F_BandMatrix< T >::copy(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix< T >::get_fortran_matrix(), operator-(), operator/(), F_BandMatrix< T >::operator=(), and F_BandMatrix< T >::swap().
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by F_BandMatrix< T >::columns(), F_BandMatrix< T >::copy(), do_fbdmat_scale(), do_fbdmat_vec_mul(), operator!=(), operator-(), operator/(), F_BandMatrix< T >::operator=(), operator==(), F_BandMatrix< T >::rows(), F_BandMatrix< T >::size(), and F_BandMatrix< T >::swap().
|
mutableprotected |
Definition at line 148 of file f_bandmatrix.h.
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by F_BandMatrix< T >::copy(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix< T >::ldab(), F_BandMatrix< T >::numSub(), operator-(), operator/(), F_BandMatrix< T >::operator=(), and F_BandMatrix< T >::swap().
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by F_BandMatrix< T >::copy(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix< T >::ldab(), F_BandMatrix< T >::numSuper(), operator-(), operator/(), F_BandMatrix< T >::operator=(), and F_BandMatrix< T >::swap().
1.8.5