|
TBCI Numerical high perf. C++ Library
2.8.0
|
header file to implement classes TBCI::F_Matrix, TBCI::F_TMatrix, TBCI::F_TSMatrix. More...
#include "tbci/vector.h"#include "tbci/matrix_sig.h"#include "tbci/matrix.h"#include "tbci/cscmatrix.h"
Go to the source code of this file.
Classes | |
| class | CSCMatrix< T > |
| exception class: Use MatErr from matrix.h More... | |
| class | F_Matrix< T > |
| class | F_TMatrix< T > |
| Temporary Base Class (non referable!) (acc. More... | |
| class | F_TSMatrix< T > |
| Temporary object for scaled matrices. More... | |
| class | BdMatrix< T > |
| The class BdMatrix is an implementation to store and do operations on sparse Matrices with a band structure. More... | |
| class | Tensor< T > |
| Tensor class including arithmetics. More... | |
| class | Matrix< T > |
| class | TMatrix< T > |
| class | F_TMatrix< T > |
| Temporary Base Class (non referable!) (acc. More... | |
| class | F_TSMatrix< T > |
| Temporary object for scaled matrices. More... | |
| class | F_Matrix< T > |
Macros | |
| #define | _VEC vec |
| #define | _ENDVEC endvec |
| #define | _DIM dim |
| #define | _ROW row |
| #define | _COL col |
| #define | _FAC fac |
| #define | LAPACK_INLINE |
| #define | F_TMFORALL_M(op) |
| #define | F_TMFORALL_TM(op) |
| #define | F_TMFORALL_TS(op) |
| #define | F_TMFORALL_T(op) |
| #define | F_STDDEF_TMM(op) |
| #define | F_STDDEF_TMTM(op) |
| #define | F_STDDEF_TMT(op) |
| #define | F_STDDEF_TTM(op) |
| #define | F_STDDEF_TM(op) |
| #define | F_STDDEF_TSM(op) |
| #define | F_STDDEF_TSTM(op) |
| #define | F_STDDEF_TSTS(op) |
| #define | F_STDDEF_TST(op) |
| #define | F_STDDEF_TTS(op) |
| #define | F_MSTDDEF_T(op) |
| #define | F_MSTDDEF_M(op) |
| #define | F_MSTDDEF_TM(op) |
| #define | F_MSTDDEF_TS(op) |
Functions | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, F_TMatrix< T >);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, F_TMatrix< T >);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T > | |
| F_TSMatrix< T > | operator* (const T &a, F_TMatrix< T > b) |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, const F_Matrix< T > &);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| for (REGISTER T *p1=c.vec,*p2=b.vec;p1< c.endvec;p1++, p2++)*p1 = a - *p2 | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, const F_Matrix< T > &);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T > | |
| F_TSMatrix< T > | operator* (const T &a, const F_Matrix< T > &b) |
| INST (template< typename T > class F_TSMatrix friend F_TMatrix< T > operator+(const T &, F_TSMatrix< T >);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| tm | detach () |
| return | F_TMatrix< T > (tm) |
| INST (template< typename T > class F_TSMatrix friend F_TMatrix< T > operator-(const T &, F_TSMatrix< T >);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T > | |
| F_TSMatrix< T > | operator* (const T &f, F_TSMatrix< T > ts) |
| template<typename T > | |
| STD__ ostream & | operator<< (STD__ ostream &os, const F_Matrix< T > &m) |
| template<typename T > | |
| STD__ ostream & | operator<< (STD__ ostream &os, F_TMatrix< T > tm) |
| template<typename T > | |
| STD__ ostream & | operator<< (STD__ ostream &os, F_TSMatrix< T > ts) |
| template<typename T > | |
| STD__ istream & | operator>> (STD__ istream &in, F_Matrix< T > &m) |
| template<typename T > | |
| F_TMatrix< T > | transpose (const F_TMatrix< T > &ftm) |
| template<typename T > | |
| NAMESPACE_END NAMESPACE_CSTD double | fabs (const TBCI__ F_TMatrix< T > &ftm) |
| template<typename T > | |
| double | fabs (const TBCI__ F_Matrix< T > &fm) |
| template<typename T > | |
| double | fabs (TBCI__ F_TSMatrix< T > &ftsm) |
Variables | |
| F_TMatrix< T > | b { for (REGISTER T* ptr=b. vec ; ptr<b. endvec ; ptr++) *ptr = a + *ptr |
| return | c |
| F_TSMatrix< T > | ts { F_TSMatrix<T> tm (ts) |
| tm | fac = (T)1 |
header file to implement classes TBCI::F_Matrix, TBCI::F_TMatrix, TBCI::F_TSMatrix.
Definition in file f_matrix.h.
| #define _COL col |
Definition at line 41 of file f_matrix.h.
| #define _DIM dim |
Definition at line 39 of file f_matrix.h.
Referenced by BdMatrix< T >::operator TMatrix< T >().
| #define _ENDVEC endvec |
Definition at line 38 of file f_matrix.h.
| #define _FAC fac |
Definition at line 42 of file f_matrix.h.
| #define _ROW row |
Definition at line 40 of file f_matrix.h.
| #define _VEC vec |
Definition at line 37 of file f_matrix.h.
| #define F_MSTDDEF_M | ( | op | ) |
Definition at line 1419 of file f_matrix.h.
| #define F_MSTDDEF_T | ( | op | ) |
Definition at line 1395 of file f_matrix.h.
| #define F_MSTDDEF_TM | ( | op | ) |
Definition at line 1434 of file f_matrix.h.
| #define F_MSTDDEF_TS | ( | op | ) |
Definition at line 1447 of file f_matrix.h.
| #define F_STDDEF_TM | ( | op | ) |
Definition at line 749 of file f_matrix.h.
| #define F_STDDEF_TMM | ( | op | ) |
Definition at line 685 of file f_matrix.h.
| #define F_STDDEF_TMT | ( | op | ) |
Definition at line 703 of file f_matrix.h.
| #define F_STDDEF_TMTM | ( | op | ) |
Definition at line 694 of file f_matrix.h.
| #define F_STDDEF_TSM | ( | op | ) |
Definition at line 980 of file f_matrix.h.
| #define F_STDDEF_TST | ( | op | ) |
Definition at line 1027 of file f_matrix.h.
| #define F_STDDEF_TSTM | ( | op | ) |
Definition at line 995 of file f_matrix.h.
| #define F_STDDEF_TSTS | ( | op | ) |
Definition at line 1009 of file f_matrix.h.
| #define F_STDDEF_TTM | ( | op | ) |
Definition at line 726 of file f_matrix.h.
| #define F_STDDEF_TTS | ( | op | ) |
Definition at line 1041 of file f_matrix.h.
| #define F_TMFORALL_M | ( | op | ) |
Definition at line 616 of file f_matrix.h.
| #define F_TMFORALL_T | ( | op | ) |
Definition at line 658 of file f_matrix.h.
| #define F_TMFORALL_TM | ( | op | ) |
Definition at line 631 of file f_matrix.h.
| #define F_TMFORALL_TS | ( | op | ) |
Definition at line 642 of file f_matrix.h.
| #define LAPACK_INLINE |
Definition at line 460 of file f_matrix.h.
| tm detach | ( | ) |
Referenced by F_TSMatrix< T >::clone(), TSVector< T >::clone(), and TSMatrix< T >::clone().
|
inline |
Definition at line 1714 of file f_matrix.h.
Definition at line 1719 of file f_matrix.h.
|
inline |
Definition at line 1724 of file f_matrix.h.
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, F_TMatrix< T >); | ) | const |
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, F_TMatrix< T >); | ) | const |
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, const F_Matrix< T > &); | ) | const |
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, const F_Matrix< T > &); | ) | const |
| INST | ( | template< typename T > class F_TSMatrix friend F_TMatrix< T > operator+(const T &, F_TSMatrix< T >); | ) | const |
| INST | ( | template< typename T > class F_TSMatrix friend F_TMatrix< T > operator-(const T &, F_TSMatrix< T >); | ) | const |
|
inline |
Definition at line 743 of file f_matrix.h.
|
inline |
Definition at line 768 of file f_matrix.h.
|
inline |
Definition at line 1156 of file f_matrix.h.
References ts.
Definition at line 1351 of file f_matrix.h.
References c.
Definition at line 1363 of file f_matrix.h.
| STD__ ostream& operator<< | ( | STD__ ostream & | os, |
| F_TSMatrix< T > | ts | ||
| ) |
Definition at line 1372 of file f_matrix.h.
References ts.
Definition at line 1379 of file f_matrix.h.
References F_TMatrix< T >::col, i, F_TMatrix< T >::row, and F_Matrix< T >::set_col().
Definition at line 1667 of file f_matrix.h.
References F_TMatrix< T >::transposed_copy().
Definition at line 736 of file f_matrix.h.
Referenced by aradd_(), arsub_(), cediv(), cemul(), ediv(), emul(), gaussj(), lev_mar(), LM_fit_2D(), MAIN__(), cplx< T >::operator*(), operator*(), Matrix< T >::operator*(), cplx< T >::operator+(), operator+(), cplx< T >::operator-(), operator-(), cplx< T >::operator/(), operator/(), and TBCI::SWAP().
| return c |
Definition at line 760 of file f_matrix.h.
Referenced by CHEBY(), BVector< T >::concat(), F_TSMatrix< T >::detach(), Matrix< T >::div_row(), Matrix< T >::div_rows(), do_fill_mat(), ediv(), erfc3(), expm(), F_BandMatrix< T >::F_BandMatrix(), F_Matrix< T >::F_Matrix(), CSCMatrix< T >::fill(), F_BandMatrix< T >::find_sub(), free_threads(), F_TMatrix< T >::get(), TMatrix< T >::get(), F_TSMatrix< T >::get(), F_Matrix< T >::get(), BdMatrix< T >::get_col(), TMatrix< T >::getcref(), init_threads(), lu_solve_expert(), CSCMatrix< T >::mult1(), Matrix< T >::mult_row(), Matrix< T >::mult_rows(), CSCMatrix< T >::operator F_TMatrix< T >(), F_TMatrix< T >::operator TMatrix< T >(), F_TSMatrix< T >::operator TMatrix< T >(), F_Matrix< T >::operator TMatrix< T >(), CTensor< T >::operator()(), F_TMatrix< T >::operator()(), TMatrix< T >::operator()(), F_TSMatrix< T >::operator()(), TSMatrix< T >::operator()(), F_Matrix< T >::operator()(), F_TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), F_Matrix< T >::operator*(), Matrix< T >::operator*(), CSCMatrix< T >::operator+(), operator+(), CSCMatrix< T >::operator-(), operator-(), cplx< T >::operator<(), operator<<(), cplx< T >::operator<=(), QMR(), BVector< T >::resize(), F_TMatrix< T >::resize(), TMatrix< T >::resize(), TMatrix< T >::set(), TMatrix< T >::setval(), sv_decomp(), F_TMatrix< T >::transpose(), TMatrix< T >::transpose(), F_BandMatrix< T >::transposed_copy(), CRMatrix< T >::transposed_copy(), CSCMatrix< T >::transposed_copy(), F_TMatrix< T >::transposed_copy(), and TMatrix< T >::transposed_copy().
| tm fac = (T)1 |
Definition at line 1052 of file f_matrix.h.
Referenced by TSVector< T >::add_t_tsv(), CTensor< T >::calclayout(), F_TSMatrix< T >::clone(), TSVector< T >::clone(), TSMatrix< T >::clone(), Matrix< T >::div_rows(), F_TSMatrix< T >::eval(), TSVector< T >::eval(), TSMatrix< T >::eval(), F_TSMatrix< T >::fabs(), TSMatrix< T >::fabssqr(), hyper2geom1(), lev_mar(), LM_fit_2D(), Matrix< T >::mult_rows(), F_TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSVector< T >::operator+(), TSMatrix< T >::operator+(), TSVector< T >::operator-(), TSMatrix< T >::operator-(), F_TSMatrix< T >::operator==(), TSVector< T >::operator==(), TSMatrix< T >::operator==(), TSVector< T >::sub_t_tsv(), and trinomial().
| F_TSMatrix< T > ts { F_TSMatrix<T> tm (ts) |
Definition at line 1052 of file f_matrix.h.
Referenced by lina_thread(), F_TMatrix< T >::operator!=(), TMatrix< T >::operator!=(), F_TSMatrix< T >::operator!=(), TSVector< T >::operator!=(), TSMatrix< T >::operator!=(), F_Matrix< T >::operator!=(), Vector< unsigned >::operator!=(), Matrix< T >::operator!=(), operator*(), TSMatrix< T >::operator+(), TSMatrix< T >::operator-(), and operator<<().
1.8.5