|
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! | |
| 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 | |
| T & | operator() (const unsigned, const unsigned) |
| rw access | |
| 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. | |
| void | find_sub (const Matrix< T > &m) |
| Find number of sub diagonals. | |
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 59 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 allocate().
Referenced by copy(), F_BandMatrix(), FGD, FGD, FGD, operator!=FGD, operator*=(), operator+FGD, operator-FGD, operator-FGD, operator/=(), operator/FGD, operator<<FGD, operator=(), operator==FGD, swap(), transpose(), and transposed_copy().
|
inline |
Definition at line 68 of file f_bandmatrix.h.
References allocate().
|
inline |
Definition at line 73 of file f_bandmatrix.h.
References copy(), and F_BandMatrix().
| F_BandMatrix< T >::F_BandMatrix | ( | const Matrix< T > & | m | ) |
Definition at line 462 of file f_bandmatrix.h.
References allocate(), BCHKNR, c, TMatrix< T >::columns(), dim, find_sub(), find_super(), MAX, MIN, TMatrix< T >::rows(), sub, and super.
|
inline |
Definition at line 76 of file f_bandmatrix.h.
References destroy().
|
protected |
Definition at line 481 of file f_bandmatrix.h.
References BCHKNR, comp, dim, LAPACK_INLINE, NULL, sub, super, and T.
Referenced by F_BandMatrix(), F_BandMatrix(), F_BandMatrix(), and resize().
| void F_BandMatrix< T >::clear | ( | ) |
Definition at line 600 of file f_bandmatrix.h.
References comp, dim, LAPACK_INLINE, sub, super, and T.
Referenced by lu_solve().
|
inline |
Definition at line 95 of file f_bandmatrix.h.
References dim.
Referenced by eig(), eig(), lu_solve(), lu_solve(), lu_solve_expert(), and operator<<().
|
protected |
Definition at line 508 of file f_bandmatrix.h.
References BCHKNR, comp, CSTD__, dim, F_BandMatrix(), NULL, sub, super, and T.
Referenced by F_BandMatrix(), and operator=().
|
inlineprotected |
Definition at line 499 of file f_bandmatrix.h.
Referenced by operator=(), resize(), and ~F_BandMatrix().
|
inlineprotected |
Find number of sub diagonals.
Definition at line 453 of file f_bandmatrix.h.
References c, dim, sub, and T.
Referenced by F_BandMatrix().
|
inlineprotected |
Find number of super diagonals.
Definition at line 443 of file f_bandmatrix.h.
Referenced by F_BandMatrix().
| TVector< T > F_BandMatrix< T >::get_col | ( | unsigned int | column | ) | const |
Definition at line 212 of file f_bandmatrix.h.
References BCHK, dim, i, index, and TVector< T >::set().
|
inline |
Definition at line 141 of file f_bandmatrix.h.
Referenced by eig(), eig(), lu_solve(), lu_solve(), and lu_solve_expert().
|
inline |
Definition at line 99 of file f_bandmatrix.h.
Referenced by lu_solve(), lu_solve(), and lu_solve_expert().
|
inline |
Definition at line 98 of file f_bandmatrix.h.
References sub.
Referenced by eig(), eig(), lu_solve(), lu_solve_expert(), operator+(), and operator-().
|
inline |
Definition at line 97 of file f_bandmatrix.h.
References super.
Referenced by eig(), eig(), lu_solve(), lu_solve(), lu_solve_expert(), operator+(), and operator-().
|
inline |
|
inline |
| 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 | ) |
|
inline |
Definition at line 203 of file f_bandmatrix.h.
References allocate(), and destroy().
|
inline |
|
inline |
Definition at line 245 of file f_bandmatrix.h.
References set_col().
|
inline |
Definition at line 238 of file f_bandmatrix.h.
References set_col().
| void F_BandMatrix< T >::set_col | ( | const Vector< T > & | v, |
| unsigned int | column ) |
|
inline |
|
inline |
Definition at line 85 of file f_bandmatrix.h.
References c, operator()(), and T.
|
inline |
Definition at line 96 of file f_bandmatrix.h.
References 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 comp, dim, F_BandMatrix(), sub, and super.
Referenced by transpose().
|
inline |
Definition at line 372 of file f_bandmatrix.h.
References transMult().
|
inline |
Definition at line 364 of file f_bandmatrix.h.
References transMult().
Definition at line 345 of file f_bandmatrix.h.
References BCHK, comp, dim, i, MIN, res, right, TVector< T >::size(), sub, sum(), super, and T.
Referenced by transMult(), and transMult().
|
inline |
transpose() does change the object!
Definition at line 619 of file f_bandmatrix.h.
References F_BandMatrix(), swap(), and transposed_copy().
| F_BandMatrix< T > F_BandMatrix< T >::transposed_copy | ( | ) | const |
Definition at line 608 of file f_bandmatrix.h.
References c, dim, F_BandMatrix(), MAX, MIN, sub, and super.
Referenced by transpose(), and transpose().
|
friend |
References do_fbdmat_scale(), F_BandMatrix(), and T.
|
friend |
References do_fbdmat_vec_mul(), and F_BandMatrix().
|
friend |
References do_fbdmat_scale(), F_BandMatrix(), and T.
|
friend |
References F_BandMatrix().
|
friend |
References F_BandMatrix().
|
friend |
References F_BandMatrix().
|
friend |
References F_BandMatrix().
|
friend |
References F_BandMatrix(), and T.
|
friend |
References F_BandMatrix(), and STD__.
|
friend |
References F_BandMatrix().
|
protected |
Definition at line 147 of file f_bandmatrix.h.
Referenced by allocate(), clear(), copy(), destroy(), do_fbdmat_scale(), do_fbdmat_scale(), do_fbdmat_vec_mul(), get_fortran_matrix(), operator()(), operator()(), operator*=(), operator-(), operator/(), operator/=(), operator=(), setval(), swap(), and transMult().
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by allocate(), clear(), columns(), copy(), do_fbdmat_scale(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix(), find_sub(), find_super(), get_col(), operator!=(), operator()(), operator()(), operator*=(), operator-(), operator/(), operator/=(), operator=(), operator==(), rows(), set_col(), setval(), size(), swap(), transMult(), and transposed_copy().
|
mutableprotected |
Definition at line 148 of file f_bandmatrix.h.
Referenced by operator()().
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by allocate(), clear(), copy(), do_fbdmat_scale(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix(), find_sub(), ldab(), numSub(), operator()(), operator()(), operator*=(), operator-(), operator/(), operator/=(), operator=(), set_col(), setval(), swap(), transMult(), and transposed_copy().
|
protected |
Definition at line 146 of file f_bandmatrix.h.
Referenced by allocate(), clear(), copy(), do_fbdmat_scale(), do_fbdmat_scale(), do_fbdmat_vec_mul(), F_BandMatrix(), find_super(), ldab(), numSuper(), operator()(), operator()(), operator*=(), operator-(), operator/(), operator/=(), operator=(), set_col(), setval(), swap(), transMult(), and transposed_copy().